Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

502 after yarn docker-up #538

Open
S1MB10T3 opened this issue Apr 30, 2019 · 1 comment
Open

502 after yarn docker-up #538

S1MB10T3 opened this issue Apr 30, 2019 · 1 comment

Comments

@S1MB10T3
Copy link

S1MB10T3 commented Apr 30, 2019

I built with yarn docker-build then tried to run it with yarn docker-up. Visiting the site by the ip or the url results in a 502 error.

running yarn docker-dev gives me this error:

app_1    | [2] Error: EACCES: permission denied, mkdir '/project/node_modules/.cache/@babel'
app_1    | [2]     at Object.fs.mkdirSync (fs.js:885:18)
app_1    | [2]     at sync (/project/node_modules/mkdirp/index.js:71:13)
app_1    | [2]     at sync (/project/node_modules/mkdirp/index.js:77:24)
app_1    | [2]     at save (/project/node_modules/@babel/register/lib/cache.js:50:20)
app_1    | [2]     at _combinedTickCallback (internal/process/next_tick.js:132:7)
app_1    | [2]     at process._tickCallback (internal/process/next_tick.js:181:9)
app_1    | [2]     at Function.Module.runMain (module.js:696:11)
app_1    | [2]     at startup (bootstrap_node.js:204:16)
app_1    | [2]     at bootstrap_node.js:625:3

Any help on how to get a production build with Docker?

@S1MB10T3
Copy link
Author

S1MB10T3 commented May 2, 2019

Guess I'm using pm2 for now. Docker and node always is a pain for me.

Leaving the issue open I guess for anyone else having issue with Docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@S1MB10T3 and others