Allow custom data volume and port arguments in Dockerfile
This commit is contained in:
parent
69ec9649d7
commit
60fdc25927
|
@ -8,15 +8,10 @@ COPY . .
|
|||
RUN npm ci
|
||||
RUN npm dedupe --production
|
||||
|
||||
VOLUME /kill-the-newsletter/data
|
||||
|
||||
ENV WEB_PORT=4000
|
||||
ENV EMAIL_PORT=2525
|
||||
ENV BASE_URL=http://localhost:4000
|
||||
ENV SMTP_URL=smtp://localhost
|
||||
ENV ISSUE_REPORT_EMAIL=kill-the-newsletter@leafac.com
|
||||
|
||||
EXPOSE 4000
|
||||
EXPOSE 2525
|
||||
|
||||
CMD node .
|
Loading…
Reference in New Issue