Move production to the default and devlopment to alternate
This commit is contained in:
@@ -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
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user