rural-dict/Dockerfile
Skylar "The Cobra" Astaroth b55ba857d6
nuke commit history
2025-05-01 21:01:41 -04:00

7 lines
299 B
Docker

FROM python:3.12.4-alpine
WORKDIR /app
COPY requirements.lock ./
RUN PYTHONDONTWRITEBYTECODE=1 pip install --no-cache-dir -r requirements.lock
COPY . .
CMD [ "uvicorn", "src.main:app", "--no-access-log", "--proxy-headers", \
"--forwarded-allow-ips", "*", "--host", "0.0.0.0", "--port", "5758" ]