#slow startup, even after building

3 messages · Page 1 of 1 (latest)

tidal schooner
proper bane
#

Does it start faster when you change CMD in your Dockerfile to this?

CMD [ "yarn", "start:prod" ]

Edit: Or better, as papooch mentions:

CMD ["node", "dist/main"]
somber pewter
#

node dist/main is the correct command