lottis_imagen/gen_service/Dockerfile

10 lines
194 B
Docker
Raw Permalink Normal View History

2024-05-01 14:50:42 +00:00
FROM python:3.12
RUN pip install poetry
WORKDIR /app
COPY . /app
RUN poetry install
2024-05-02 06:14:29 +00:00
ENTRYPOINT ["poetry", "run", "gunicorn", "-c", "gunicorn_config.py", "wsgi:app", "--bind", "0.0.0.0:5000"]