optimize docker
Generate release / build-and-publish (push) Failing after 11s
Details
Generate release / build-and-publish (push) Failing after 11s
Details
This commit is contained in:
parent
dffd04078a
commit
5bf7d5f25c
|
@ -1,8 +1,8 @@
|
|||
# Ignore everything
|
||||
*
|
||||
**
|
||||
|
||||
# Add required files and folders
|
||||
!/ayta
|
||||
!/README.md
|
||||
!/LICENCE
|
||||
!/requirements.txt
|
||||
!ayta
|
||||
!README.md
|
||||
!LICENCE
|
||||
!requirements.txt
|
||||
|
|
|
@ -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()"]
|
Loading…
Reference in New Issue