Files
shape_ai/Dockerfile
2025-11-23 18:03:01 -08:00

9 lines
226 B
Docker

FROM python:3.11
COPY ./app /source
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r /source/requirements.txt
EXPOSE 3000
RUN useradd app
USER app
WORKDIR source
CMD ["gunicorn", "-b", "0.0.0.0:3000", "app:app"]