mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
chore: update project dependencies in requirements.txt
This commit is contained in:
21
Dockerfile
Normal file
21
Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
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" ]
|
||||
|
||||
Reference in New Issue
Block a user