Files
eamco_auto_api/Dockerfile.prod
2024-10-30 17:05:14 -04:00

23 lines
279 B
Docker

FROM python:3.12-bullseye
ENV TZ="America/New_York"
ENV PYTHONFAULTHANDLER=1
ENV PYTHONUNBUFFERED=1
ENV MODE="PRODUCTION"
RUN mkdir -p /app
COPY requirements.txt /app
WORKDIR /app
RUN pip3 install setuptools
RUN pip3 install -r requirements.txt
EXPOSE 8001
COPY . /app