wildduck/Dockerfile
2020-08-19 20:41:28 +02:00

15 lines
357 B
Docker

FROM node:lts-alpine
RUN apk add --no-cache make git dumb-init python openssl
WORKDIR /wildduck
COPY . .
RUN npm install --production
ENV WILDDUCK_APPDIR=/wildduck \
WILDDUCK_CONFIG=/wildduck/config/default.toml \
CMD_ARGS=""
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD node ${WILDDUCK_APPDIR}/server.js --config=${WILDDUCK_CONFIG} ${CMD_ARGS}