Add the ability to run cpolis from docker
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user