mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-04 21:20:35 +00:00
21 lines
427 B
Docker
21 lines
427 B
Docker
FROM python:3
|
|
|
|
RUN git clone https://github.com/welton89/RRBEC.git
|
|
RUN cd RRBEC
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN python gestaoRaul/manage.py collectstatic --noinput
|
|
|
|
# RUN python gestaoRaul/manage.py migrate --noinput
|
|
WORKDIR /app/gestaoRaul
|
|
|
|
|
|
|
|
CMD [ "gunicorn", "-w", "4", "--timeout", "15", "gestaoRaul.wsgi:application", "--bind", "0.0.0.0:8000" ]
|
|
|