Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed Sep 19, 2023
1 parent 14f688b commit 600a5db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
FROM ghcr.io/samvera/hyku/base:latest as hyku-web
ARG APP_PATH
COPY --chown=1001:101 $APP_PATH/Gemfile* /app/samvera/hyrax-webapp/
RUN git config --global --add safe.directory /app/samvera && \
bundle install --jobs "$(nproc)"

COPY --chown=1001:101 $APP_PATH/bin/db-migrate-seed.sh /app/samvera/
# This is specifically NOT $APP_PATH but the parent directory
COPY --chown=1001:101 . /app/samvera

RUN RAILS_ENV=production SECRET_KEY_BASE=`bin/rake secret` DB_ADAPTER=nulldb DB_URL='postgresql://fake' bundle exec rake assets:precompile && yarn install
CMD ./bin/web

FROM hyku-web as hyku-worker
Expand Down
2 changes: 1 addition & 1 deletion hyrax-webapp

0 comments on commit 600a5db

Please sign in to comment.