unshorten/server/Dockerfile
2024-04-13 19:24:49 -04:00

10 lines
181 B
Docker

FROM python:alpine
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src .
EXPOSE 8000
CMD ["uvicorn", "--host", "0.0.0.0", "main:app"]