Skip to content

Commit

Permalink
feat: Improve webhook deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
drorganvidez committed Oct 24, 2024
1 parent c28f5cd commit 48f52a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker/entrypoints/production_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions docker/images/Dockerfile.webhook
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./

Expand All @@ -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
EXPOSE 5000

0 comments on commit 48f52a7

Please sign in to comment.