mirror of
https://github.com/Tilo-K/ddragon-cdn.git
synced 2026-10-18 14:47:10 +00:00
Added Dockerfile
This commit is contained in:
1 parent
2cda9097ac
commit
36accf88a0
1 file changed
+11
+11
@@ -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
|
||||
Reference in new issue
Block a user