Added Dockerfile

This commit is contained in:
2023-08-01 22:38:21 +02:00
parent 2cda9097ac
commit 36accf88a0

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM golang:latest
ENV STORAGE_DIR=/mnt/data
RUN mkdir -p /mnt/data
WORKDIR /
COPY . .
RUN go build -o cdn
CMD ["./cdn"]
EXPOSE 8080