2023-10-16 23:25:24 +02:00
|
|
|
FROM python:3.11.6-alpine3.18
|
2023-10-16 23:06:19 +02:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY requierements.txt /app/
|
2023-10-16 23:25:24 +02:00
|
|
|
COPY app /app/app
|
2023-10-16 23:06:19 +02:00
|
|
|
|
|
|
|
|
2023-10-16 23:25:24 +02:00
|
|
|
RUN pip install --upgrade pip && pip install -r requierements.txt
|
2023-10-16 23:06:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|