This commit is contained in:
Jason Streifling 2025-01-24 18:40:58 +01:00
parent 40fbb93732
commit cafb158323

View File

@ -1,6 +1,7 @@
FROM golang:latest
RUN apk add --no-cache pandoc
RUN apt update
RUN apt install -y pandoc
WORKDIR /var/www/cpolis
@ -9,7 +10,7 @@ COPY . .
RUN curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64
RUN chmod +x tailwindcss-linux-x64
RUN mv tailwindcss-linux-x64 tailwindcss
RUN ./web/static/css/input.css -o ./web/static/css/style.css
RUN tailwindcss -i ./web/static/css/input.css -o ./web/static/css/style.css
RUN go build -o cpolis cmd/main.go