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

Create demo/log/.keep #438

Merged
merged 1 commit into from
Aug 25, 2024
Merged

Create demo/log/.keep #438

merged 1 commit into from
Aug 25, 2024

Conversation

hirowatari
Copy link
Contributor

Ensure that log directory exists. Prevent docker build from failing.

I was getting the error:

 => ERROR [polaris stage-2 5/6] RUN useradd rails --create-home --shell /bin/  0.3s
------
 > [polaris stage-2 5/6] RUN useradd rails --create-home --shell /bin/bash &&     chown -R rails:rails db log tmp:
0.248 chown: cannot access 'log': No such file or directory
------
failed to solve: process "/bin/sh -c useradd rails --create-home --shell /bin/bash &&     chown -R rails:rails db log tmp" did not complete successfully: exit code: 1

Creating the directory fixed the issue and allowed me to docker build

Ensure that `log` directory exists. Prevent `docker build` from failing.
@kirillplatonov kirillplatonov merged commit 72c172e into baoagency:main Aug 25, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants