backend-collector/Dockerfile

11 lines
231 B
Docker

FROM python:3.11.6-alpine3.18
WORKDIR /app
COPY requierements.txt /app/
COPY app /app/app
RUN pip install --upgrade pip && pip install -r requierements.txt
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]