🚧 WIP
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
@@ -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:
|
||||
Reference in New Issue
Block a user