fix: Remove PORT from run command
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5286458b4c
commit
afc229ecdb
1 changed files with 2 additions and 1 deletions
|
@ -17,9 +17,10 @@ RUN yarn --production --pure-lockfile \
|
||||||
|
|
||||||
# Expose port 4002
|
# Expose port 4002
|
||||||
EXPOSE 4002
|
EXPOSE 4002
|
||||||
|
ENV PORT=4002
|
||||||
|
|
||||||
# Setting run-command, using explicit `node` command
|
# Setting run-command, using explicit `node` command
|
||||||
# rather than `yarn` or `npm` to use less memory
|
# rather than `yarn` or `npm` to use less memory
|
||||||
# https://github.com/nolanlawson/pinafore/issues/971
|
# https://github.com/nolanlawson/pinafore/issues/971
|
||||||
CMD ["PORT=4002", "node", "server.js"]
|
CMD ["node", "server.js"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue