Version Update 2023-12-12
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
FROM python:3.9-alpine
|
||||
RUN pip install --no-cache-dir Flask icalendar gunicorn Unidecode
|
||||
COPY . /app
|
||||
FROM python:3-alpine as base
|
||||
WORKDIR /app
|
||||
COPY requirements.txt .
|
||||
RUN pip install --compile --no-cache-dir --requirement requirements.txt
|
||||
COPY . /app
|
||||
|
||||
CMD ["gunicorn", "--workers=2", "--access-logfile", "-", "--log-level", "debug", "-b", "0.0.0.0:5000", "app:app"]
|
||||
CMD ["gunicorn", "-c", "gunicorn.py"]
|
||||
#CMD python app.py
|
||||
|
Reference in New Issue
Block a user