Files
thePlug/Dockerfile
T
reloia a4d73efa77
Build and Push to Registry / build (push) Successful in 8s
chore: restructure project directory and update Dockerfile paths
2026-04-12 00:27:30 +02:00

17 lines
320 B
Docker

FROM python:3.14-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY pyproject.toml ./
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir fastapi uvicorn
COPY app ./src
EXPOSE 3671
CMD ["fastapi", "run", "src/main.py", "--host", "0.0.0.0", "--port", "3671"]