From 48f52a7b5277098969297655cc7b20c50239643c Mon Sep 17 00:00:00 2001 From: drorganvidez Date: Thu, 24 Oct 2024 15:37:59 +0200 Subject: [PATCH] feat: Improve webhook deployment --- docker/entrypoints/production_entrypoint.sh | 2 +- docker/images/Dockerfile.webhook | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docker/entrypoints/production_entrypoint.sh b/docker/entrypoints/production_entrypoint.sh index 06f38170..f302e832 100644 --- a/docker/entrypoints/production_entrypoint.sh +++ b/docker/entrypoints/production_entrypoint.sh @@ -16,7 +16,7 @@ set -e # Compile webpack files -# rosemary webpack:compile +rosemary webpack:compile # Wait for the database to be ready by running a script sh ./scripts/wait-for-db.sh diff --git a/docker/images/Dockerfile.webhook b/docker/images/Dockerfile.webhook index 6c1e088a..a7070ab8 100644 --- a/docker/images/Dockerfile.webhook +++ b/docker/images/Dockerfile.webhook @@ -52,9 +52,6 @@ RUN pip install --no-cache-dir --upgrade pip RUN pip install -r requirements.txt # Install Rosemary -COPY app ./app -COPY core ./core -COPY rosemary/ ./rosemary COPY setup.py ./ RUN pip install -e ./ @@ -66,7 +63,4 @@ RUN npm install RUN git config --global --add safe.directory /app # Expose port 5000 -EXPOSE 5000 - -# Compile webpack files -CMD rosemary webpack:compile \ No newline at end of file +EXPOSE 5000 \ No newline at end of file