mirror of
https://github.com/Stijnvandenbroek/stamp.git
synced 2026-01-14 23:16:54 +01:00
16 lines
272 B
Docker
16 lines
272 B
Docker
FROM python:3.10-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . /app
|
|
|
|
RUN apt-get update && apt-get install -y curl && apt-get clean
|
|
|
|
RUN pip install uv
|
|
|
|
RUN uv pip install --group main --system
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
|