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

Fix docker build #576

Closed
wants to merge 2 commits into from
Closed

Fix docker build #576

wants to merge 2 commits into from

Conversation

kcinay055679
Copy link
Collaborator

@kcinay055679 kcinay055679 commented Jan 30, 2024

To test the build by using the updated dockerfile run the following command:

docker build \ 
--build-arg TZ=Europe/Zurich \
--build-arg RAILS_ENV=production \
--build-arg RAKE_ENV=production \
--build-arg BUNDLE_WITHOUT='development:metrics:test' \
--build-arg BUILD_SCRIPT='npm install -g yarn && yarn set version 1.22.10' \
--build-arg POST_BUILD_SCRIPT='cd frontend && yarn install --no-progress && yarn build-prod && mv -v dist/* ../public/' \
--build-arg RUN_PACKAGES='git imagemagick libpq5' \
--build-arg SECRET_KEY_BASE='cannot-be-blank-for-production-env-when-building' \
--no-cache \
--progress=plain \
-t skills \
.

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.

1 participant