mirror of
https://github.com/Tilo-K/ddragon-cdn.git
synced 2026-01-09 00:21:01 +00:00
Added Dockerfile
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user