fixes env and args in website Dockerfile
This commit is contained in:
@@ -14,13 +14,9 @@ RUN npm run astro db push
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
ARG MAX_DAILY_EMAILS="100"
|
|
||||||
ENV MAX_DAILY_EMAILS=$MAX_DAILY_EMAILS
|
|
||||||
ARG SENDMAIL_BIN="/usr/sbin/sendmail"
|
|
||||||
ENV SENDMAIL_BIN=$SENDMAIL_BIN
|
|
||||||
|
|
||||||
ENV HOST=0.0.0.0
|
ENV HOST=0.0.0.0
|
||||||
ENV PORT=4321
|
ENV PORT=4321
|
||||||
|
ENV MAX_DAILY_EMAILS=100
|
||||||
|
|
||||||
EXPOSE 4321
|
EXPOSE 4321
|
||||||
CMD ["node", "./dist/server/entry.mjs"]
|
CMD ["node", "./dist/server/entry.mjs"]
|
||||||
|
|||||||
Reference in New Issue
Block a user