This repository has been archived on 2024-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
rotini/backend/Dockerfile

23 lines
418 B
Text
Raw Permalink Normal View History

2023-12-10 21:41:54 +00:00
FROM python:3.12-slim
2023-08-16 04:32:26 +00:00
ENV DEBIAN_FRONTEND=noninteractive
RUN apt update && apt upgrade -y
RUN apt-get install -y \
2023-08-16 04:32:26 +00:00
gcc \
libpq-dev
WORKDIR /app
COPY ./requirements.txt ./requirements.txt
2023-12-10 21:41:54 +00:00
RUN python3 -m pip install -U pip==23.3 pip-tools==7.3.0
RUN python3 -m pip install -r ./requirements.txt
COPY ./rotini ./rotini
WORKDIR ./rotini
CMD python3 -m uvicorn base.asgi:application --host 0.0.0.0