Skip to content

Commit

Permalink
create web_static_css dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Nobody committed Jul 24, 2023
1 parent af71d08 commit 2b25784
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM docker.io/library/golang:1.20.6-alpine3.18
WORKDIR /src
RUN apk add --no-cache build-base sassc vips-tools
RUN apk add --no-cache build-base sassc
COPY go.sum go.mod ./
RUN go mod download && go mod tidy
COPY . /src
RUN set -x \
&& mkdir -p web/static/css \
&& for f in web/scss/*.scss; do sassc --style nested --sourcemap=inline -l "$f" "web/static/css/$(basename $f .scss).css";done \
&& go build -v -o bin/userstyles-fonts cmd/userstyles-fonts/main.go \
&& go build -v -o bin/userstyles-ts cmd/userstyles-ts/main.go \
Expand Down

0 comments on commit 2b25784

Please sign in to comment.