Files
eamco_auto_api/Dockerfile
2024-07-15 17:55:45 -04:00

18 lines
253 B
Docker

FROM python:3.12-bullseye
ENV PYTHONFAULTHANDLER=1
ENV PYTHONUNBUFFERED=1
RUN mkdir -p /app
COPY requirements.txt /app
WORKDIR /app
RUN pip3 install fastapi
RUN pip3 install sqlalchemy
RUN pip3 install -r requirements.txt
EXPOSE 8000
COPY . /app