Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ RUN npm run build
# Python backend stage
FROM python:3.11-slim

# Build argument for version (can be set at build time)
ARG VERSION=0.1.0

# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
Expand All @@ -28,7 +31,7 @@ COPY pyproject.toml .
COPY src/ ./src/

# Install python core package with setuptools-scm version override
RUN pip install .
RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FUEL_CYCLE_SIM=${VERSION} pip install .

# Install gunicorn for production WSGI server
RUN pip install gunicorn
Expand Down
Loading