mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 05:25:40 +00:00
docker: criado docker-compose com o django_app e o nginx_server como proxy reverso e servindo statics files em um volume compartilhado
This commit is contained in:
@@ -7,4 +7,11 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "gestaoRaul/manage.py", "runserver", "0.0.0.0:8000" ]
|
||||
RUN python gestaoRaul/manage.py collectstatic --noinput
|
||||
|
||||
WORKDIR /app/gestaoRaul
|
||||
|
||||
|
||||
|
||||
CMD [ "gunicorn", "gestaoRaul.wsgi:application", "--bind", "0.0.0.0:8000" ]
|
||||
|
||||
Reference in New Issue
Block a user