This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM alpine:latest
|
||||
|
||||
LABEL maintainer="Gardel <sunxinao@hotmail.com>"
|
||||
LABEL "Description"="Go Yggdrasil Server"
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
RUN mkdir -p /app
|
||||
COPY "build/yggdrasil-${TARGETOS}-${TARGETARCH}" /app/yggdrasil
|
||||
|
||||
EXPOSE 8080
|
||||
VOLUME /app/data
|
||||
|
||||
WORKDIR /app/data
|
||||
ENTRYPOINT ["/app/yggdrasil"]
|
Reference in New Issue
Block a user