docker build test
This commit is contained in:
@@ -5,8 +5,9 @@ LABEL "Description"="Go Yggdrasil Server"
|
||||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
ARG BINARY="yggdrasil-${TARGETOS}-${TARGETARCH}"
|
||||
RUN mkdir -p /app
|
||||
COPY "build/yggdrasil-${TARGETOS}-${TARGETARCH}" /app/yggdrasil
|
||||
COPY $BINARY /app/yggdrasil
|
||||
|
||||
EXPOSE 8080
|
||||
VOLUME /app/data
|
||||
|
Reference in New Issue
Block a user