mirror of
https://github.com/NewFuture/DDNS.git
synced 2022-04-19 20:24:44 +00:00
* feat(docker): add entrypoint.sh * docs(docker): example using environment variables
11 lines
297 B
Docker
Executable File
11 lines
297 B
Docker
Executable File
FROM six8/pyinstaller-alpine:alpine-3.6-pyinstaller-v3.4
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN pyinstaller --onefile --noconfirm --clean ./.build/ddns.spec
|
|
|
|
FROM alpine:latest
|
|
LABEL maintainer="NN708"
|
|
COPY --from=0 /app/entrypoint.sh /
|
|
COPY --from=0 /app/dist/ddns /
|
|
ENTRYPOINT [ "/entrypoint.sh" ]
|