mirror of
https://github.com/timmypidashev/web.git
synced 2026-04-14 19:13:51 +00:00
proxy updates
This commit is contained in:
20
src/landing/Dockerfile.dev
Normal file
20
src/landing/Dockerfile.dev
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM python:3.11
|
||||
|
||||
# Copy local context to `/app` inside container (see .dockerignore)
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
# Install app requirements and reflex in the container
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
# Deploy templates and prepare app
|
||||
RUN reflex init
|
||||
|
||||
# Download all npm dependencies and compile frontend
|
||||
RUN reflex export --frontend-only --no-zip
|
||||
|
||||
# Needed until Reflex properly passes SIGTERM on backend.
|
||||
STOPSIGNAL SIGKILL
|
||||
|
||||
# Always apply migrations before starting the backend.
|
||||
CMD reflex run --env dev
|
||||
Reference in New Issue
Block a user