Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Fbasham authored Nov 22, 2023
1 parent e019ebd commit d8e6c1b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ ARG ADOBE_ANALYTICS_URL=""
ARG THANK_YOU_EMAIL
ARG NEXT_PUBLIC_NOTIFY_REPORT_A_PROBLEM_EMAIL
ARG ENVIRONMENT
ARG NOTIFY_API_KEY
ARG NOTIFY_FEEDBACK_TEMPLATE_ID

RUN yarn build

Expand All @@ -50,13 +52,12 @@ USER nextjs

ENV REPORT_A_PROBLEM_ENABLED=true
ENV NOTIFY_BASE_API_URL=https://api.notification.canada.ca
# Figure out best practice for passing variables not used during container build
# ENV NOTIFY_API_KEY
# ENV NOTIFY_REPORT_A_PROBLEM_TEMPLATE_ID
ENV NOTIFY_API_KEY
ENV NOTIFY_FEEDBACK_TEMPLATE_ID

EXPOSE 3000

# Update me if you change the port
ENV PORT 3000

CMD ["node", "server.js"]
CMD ["node", "server.js"]

0 comments on commit d8e6c1b

Please sign in to comment.