fix: Remove PORT from run command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-01-24 14:59:15 +01:00
parent 5286458b4c
commit afc229ecdb

View file

@ -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"]