Update Dockerfile

This commit is contained in:
jonny 2021-03-30 15:56:43 +08:00 committed by GitHub
parent fdca297900
commit 5e5395dabe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ FROM golang:alpine
LABEL maintainer="www.mrdoc.fun" LABEL maintainer="www.mrdoc.fun"
COPY --from=builder /root/anylink/server /app/ COPY --from=builder /root/anylink/server /app/
COPY --from=builder /root/anylink/web/ui /app/ui/ COPY --from=builder /root/anylink/web/ui /app/ui/
COPY docker/ /app/ COPY --from=builder /root/anylink/docker /app/
WORKDIR /app WORKDIR /app
RUN apk add --no-cache pwgen bash iptables openssl ca-certificates \ RUN apk add --no-cache pwgen bash iptables openssl ca-certificates \
&& rm -f /app/conf/server.toml \ && rm -f /app/conf/server.toml \