chartManD commited on
Commit
01cc2ab
·
1 Parent(s): 76289f2

Config Dockerfile, cambio comando a python3

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -5
Dockerfile CHANGED
@@ -11,18 +11,18 @@ WORKDIR /cata_system
11
 
12
  COPY requirements.txt .
13
 
14
- RUN python -m venv /opt/venv
15
  ENV PATH="/opt/venv/bin:$PATH"
16
  RUN ls -lah
17
 
18
  RUN python3 -m pip install --upgrade pip && \
19
  python3 -m pip install -r requirements.txt
20
 
21
- RUN python manage.py migrate
22
- RUN python manage.py tailwind build
23
- RUN python manage.py collectstatic --noinput
24
 
25
- RUN python manage.py shell < create_superuser.py
26
 
27
  EXPOSE 7860
28
 
 
11
 
12
  COPY requirements.txt .
13
 
14
+ RUN python3 -m venv /opt/venv
15
  ENV PATH="/opt/venv/bin:$PATH"
16
  RUN ls -lah
17
 
18
  RUN python3 -m pip install --upgrade pip && \
19
  python3 -m pip install -r requirements.txt
20
 
21
+ RUN python3 manage.py migrate
22
+ RUN python3 manage.py tailwind build
23
+ RUN python3 manage.py collectstatic --noinput
24
 
25
+ RUN python3 manage.py shell < create_superuser.py
26
 
27
  EXPOSE 7860
28