fix: Remove PORT from run command
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Glenn Y. Rolland 2023-01-24 14:59:15 +01:00
parent 5286458b4c
commit afc229ecdb
1 changed files with 2 additions and 1 deletions

View File

@ -17,9 +17,10 @@ RUN yarn --production --pure-lockfile \
# Expose port 4002
EXPOSE 4002
ENV PORT=4002
# Setting run-command, using explicit `node` command
# rather than `yarn` or `npm` to use less memory
# https://github.com/nolanlawson/pinafore/issues/971
CMD ["PORT=4002", "node", "server.js"]
CMD ["node", "server.js"]