Skip to content

deploying in docker #1587

Answered by B4nan
i-CNNN asked this question in Q&A
Oct 11, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Please be more verbose if you want help, e.g. can you share a run link if its from apify platform? Otherwise at least provide your full dockerfile.

The image indeed supports XVFB, but you need to specify the CMD this way:

CMD ./start_xvfb_and_run_cmd.sh && npm run start:prod --silent

(adjust the npm run start based on your actual project)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@i-CNNN
Comment options

Answer selected by i-CNNN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working.
2 participants
Converted from issue

This discussion was converted from issue #1586 on October 11, 2022 07:21.