mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 18:58:54 +08:00
15 lines
319 B
Text
15 lines
319 B
Text
|
FROM node:lts-alpine
|
||
|
|
||
|
RUN apk add --no-cache make git dumb-init python
|
||
|
|
||
|
WORKDIR /wildduck
|
||
|
COPY . .
|
||
|
|
||
|
RUN npm install --production
|
||
|
|
||
|
ENV WILDDUCK_APPDIR=/wildduck \
|
||
|
WILDDUCK_CONFIG=/wildduck/config/default.toml
|
||
|
|
||
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||
|
CMD node ${WILDDUCK_APPDIR}/server.js --config=${WILDDUCK_CONFIG}
|