Move production to the default and devlopment to alternate

This commit is contained in:
Ryan W
2023-10-15 16:56:41 -07:00
parent 5b7b34993b
commit e31a928e04
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -25,8 +25,6 @@ jobs:
- name: Build and push - name: Build and push
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
context: .
file: ./Dockerfile
push: false push: false
load: true load: true
tags: ${{ env.TEST_TAG }} tags: ${{ env.TEST_TAG }}
+1 -1
View File
@@ -76,7 +76,7 @@ RUN useradd rails --create-home --shell /bin/bash && \
USER rails:rails USER rails:rails
# Entrypoint prepares the database. # 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 \ HEALTHCHECK --interval=15s --timeout=3s --start-period=0s --start-interval=5s --retries=3 \
CMD curl -f http://localhost:3000/up || exit 1 CMD curl -f http://localhost:3000/up || exit 1