Files
saldo/Dockerfile
T
2026-04-21 21:17:36 +02:00

21 lines
395 B
Docker

FROM python:3.13-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
FLASK_APP=wsgi:app \
SALDO_DATA_DIR=/app/data
WORKDIR /app/code
COPY requirements.txt /app/code/requirements.txt
RUN pip install --upgrade pip && pip install -r /app/code/requirements.txt
COPY . /app/code
RUN chmod +x /app/code/start.sh
EXPOSE 8000
CMD ["/app/code/start.sh"]