This commit is contained in:
Jonas Bengtsson
2026-08-19 21:10:36 +02:00
parent 4f24713617
commit 206713a848
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
CONFIG_PATH=/app/config.json
CONFIG_PATH=/app/config/config.json
WORKDIR /app
@@ -10,7 +10,7 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
COPY config.json ./config.json
COPY config.json ./config/config.json
EXPOSE 8000
+5 -2
View File
@@ -3,9 +3,12 @@ services:
build: .
container_name: bohemma-swish
ports:
- "8000:8000"
- "${APP_PORT:-8080}:8000"
environment:
CONFIG_PATH: /app/config.json
volumes:
- ./config.json:/app/config.json:ro
- config:/app/config
restart: unless-stopped
volumes:
config: