A bit faster container building
Generate release / build-and-publish (push) Successful in 50s Details

This commit is contained in:
ventilaar 2024-02-29 20:41:53 +01:00
parent fe60b3d981
commit cd06c86b1a
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
FROM python:3-alpine
WORKDIR /app
COPY . /app
COPY requirements.txt /app
RUN pip install --no-cache-dir -r requirements.txt
COPY . /app
EXPOSE 8000
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "ayta:create_app()"]