initial
This commit is contained in:
10
Dockerfile.backend
Normal file
10
Dockerfile.backend
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM python:3.11-slim
|
||||
ARG API_URL
|
||||
WORKDIR /app
|
||||
RUN adduser --disabled-password --home /app reflex
|
||||
COPY --chown=reflex --from=gitea.pb42.de/matthias/reflex-ipad:builder /app /app
|
||||
COPY --chown=reflex deploy/* .
|
||||
USER reflex
|
||||
ENV PATH="/app/.venv/bin:$PATH" API_URL=$API_URL
|
||||
|
||||
CMD reflex db migrate && reflex run --env prod --backend-only
|
||||
Reference in New Issue
Block a user