Add the ability to run cpolis from docker

This commit is contained in:
2025-01-19 15:17:38 +01:00
parent 86a16629fd
commit 6885dfbb38
3 changed files with 35 additions and 2 deletions

11
Dockerfile Normal file
View File

@ -0,0 +1,11 @@
FROM golang:latest
RUN apk add --no-cache pandoc
WORKDIR /var/www/cpolis
COPY . .
RUN go build -o cpolis cmd/main.go
CMD ["./cpolis"]