Updated api

This commit is contained in:
2025-05-05 10:29:39 -04:00
parent 0ad7ae835a
commit 6a43d4865b
6 changed files with 92 additions and 5 deletions

23
Dockerfile.prod Normal file
View File

@@ -0,0 +1,23 @@
FROM python:3.12-bullseye
ENV COMPANYID=1
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 8003
COPY . /app