Skip to content

Commit

Permalink
feat: minify tailwind in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Brereton authored and Tom Brereton committed Jan 10, 2024
1 parent 93cbdb8 commit 036d078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ COPY package*.json .
COPY tailwind.config.js .
RUN ls -l /web
RUN npm install
RUN npx tailwindcss -i ./static/css/main.css -o ./static/css/styles.css
RUN npx tailwindcss -i ./static/css/main.css -o ./static/css/styles.css --minify

# Go build stage
FROM golang:latest as gobuilder
Expand Down

0 comments on commit 036d078

Please sign in to comment.