optimize docker
Generate release / build-and-publish (push) Failing after 11s Details

This commit is contained in:
Ventilaar 2024-02-28 23:43:38 +01:00
parent dffd04078a
commit 5bf7d5f25c
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View File

@ -1,8 +1,8 @@
# Ignore everything
*
**
# Add required files and folders
!/ayta
!/README.md
!/LICENCE
!/requirements.txt
!ayta
!README.md
!LICENCE
!requirements.txt

View File

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