Skip to content

Commit

Permalink
Update port to 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
CannonLock committed Nov 21, 2024
1 parent 79f6312 commit 27b6ad2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ COPY server.js ./

USER nextjs

EXPOSE 8443
EXPOSE 3000

ENV PORT 8443
ENV PORT 3000

Check warning on line 58 in Dockerfile

View workflow job for this annotation

GitHub Actions / call-build-image / docker

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

Check warning on line 58 in Dockerfile

View workflow job for this annotation

GitHub Actions / call-build-image / docker

Legacy key/value format with whitespace separator should not be used

LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format More info: https://docs.docker.com/go/dockerfile/rule/legacy-key-value-format/

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

0 comments on commit 27b6ad2

Please sign in to comment.