forked from PlanExeOrg/PlanExe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (22 loc) · 859 Bytes
/
Copy pathDockerfile
File metadata and controls
30 lines (22 loc) · 859 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PLANEXE_CONFIG_PATH=/app \
PIP_NO_CACHE_DIR=1 \
PIP_PREFER_BINARY=1 \
PYTHONPATH=/app:/app/frontend_multi_user:/app/frontend_multi_user/src
WORKDIR /app
# Copy application code and supporting files
COPY worker_plan/worker_plan_internal /app/worker_plan_internal
COPY worker_plan/worker_plan_api /app/worker_plan_api
COPY database_api /app/database_api
COPY frontend_multi_user /app/frontend_multi_user
# Install dependencies from frontend_multi_user pyproject
RUN set -eux; \
pip install --no-cache-dir "pip==24.3.1"; \
pip install --no-cache-dir --prefer-binary /app/frontend_multi_user
# Default location for generated plans
RUN mkdir -p /app/run
WORKDIR /app/frontend_multi_user
EXPOSE 5000
CMD ["python", "/app/frontend_multi_user/src/app.py"]