Skip to content

Commit

Permalink
Move production to the default and devlopment to alternate
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwi committed Oct 15, 2023
1 parent 5b7b349 commit e31a928
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: false
load: true
tags: ${{ env.TEST_TAG }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ RUN useradd rails --create-home --shell /bin/bash && \
USER rails:rails

# Entrypoint prepares the database.
ENTRYPOINT ["/rails/bin/docker-entrypoint-production"]
ENTRYPOINT ["/rails/bin/docker-entrypoint"]

HEALTHCHECK --interval=15s --timeout=3s --start-period=0s --start-interval=5s --retries=3 \
CMD curl -f http://localhost:3000/up || exit 1
Expand Down

0 comments on commit e31a928

Please sign in to comment.