don't .gitignore CACHE/; .gitignore all files in it
This commit is contained in:
Родитель
6e2634ea57
Коммит
f4a3ea72ed
|
@ -7,5 +7,4 @@ env/
|
|||
__pycache__
|
||||
web-ext-artifacts/
|
||||
static/downloads
|
||||
static/CACHE
|
||||
htmlcov
|
||||
|
|
|
@ -12,12 +12,13 @@ EXPOSE 8000
|
|||
|
||||
USER app
|
||||
|
||||
COPY ./requirements.txt /app/requirements.txt
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . /app
|
||||
COPY .env-dist /app/.env
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
RUN mkdir -p /app/static
|
||||
RUN mkdir -p /app/static/CACHE
|
||||
RUN python manage.py collectstatic --no-input -v 2
|
||||
|
||||
ENTRYPOINT ["/app/.local/bin/gunicorn"]
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
*
|
||||
!.gitignore
|
Загрузка…
Ссылка в новой задаче