Skip to content

Commit

Permalink
no, wait - set NODE_ENV in the dockerfile instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmatthis committed May 16, 2024
1 parent dc639f3 commit 4b0a192
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ COPY . .

RUN npm run build

ENV NODE_ENV=production

ENTRYPOINT ["/usr/bin/dumb-init", "--", "npm", "run", "start:prod"]
1 change: 0 additions & 1 deletion gcloud/GCE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@ gcloud compute instances create-with-container skelly-bot-testing \
--shielded-vtpm \
--shielded-integrity-monitoring \
--labels=goog-ec-src=vm_add-gcloud,container-vm=cos-stable-109-17800-66-54
--container-env NODE_ENV=production

0 comments on commit 4b0a192

Please sign in to comment.