From e31a928e0454bf4fdea0f5b3292629c678f78f6c Mon Sep 17 00:00:00 2001 From: Ryan W Date: Sun, 15 Oct 2023 16:56:41 -0700 Subject: [PATCH] Move production to the default and devlopment to alternate --- .github/workflows/docker.yml | 2 -- Dockerfile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7374999..50ee5ed 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -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 }} diff --git a/Dockerfile b/Dockerfile index 7c8ef0a..9d8efea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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