chartManD commited on
Commit
8a464fd
·
1 Parent(s): 0b457c4

Config Dockerfile, haciendo migraciones

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -3
Dockerfile CHANGED
@@ -1,16 +1,13 @@
1
  FROM ubuntu:24.04
2
 
3
- # RUN export DEBIAN_FRONTEND=noninteractive
4
  ENV DEBIAN_FRONTEND=noninteractive
5
 
6
  RUN apt-get update && apt-get install -y \
7
  build-essential \
8
  libpq-dev \
9
  python3 python3-dev python3-pip python3-venv \
10
- # python3-mysqldb
11
  gcc pkg-config \
12
  default-libmysqlclient-dev \
13
- # libmysqlclient-dev \
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
  WORKDIR /cata_system
@@ -27,6 +24,7 @@ RUN pip install --upgrade pip && \
27
 
28
  COPY . .
29
 
 
30
  RUN python3 manage.py migrate
31
  # RUN python3 manage.py tailwind build
32
  # RUN python3 manage.py collectstatic --noinput
 
1
  FROM ubuntu:24.04
2
 
 
3
  ENV DEBIAN_FRONTEND=noninteractive
4
 
5
  RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  libpq-dev \
8
  python3 python3-dev python3-pip python3-venv \
 
9
  gcc pkg-config \
10
  default-libmysqlclient-dev \
 
11
  && rm -rf /var/lib/apt/lists/*
12
 
13
  WORKDIR /cata_system
 
24
 
25
  COPY . .
26
 
27
+ RUN python3 manage.py makemigrations
28
  RUN python3 manage.py migrate
29
  # RUN python3 manage.py tailwind build
30
  # RUN python3 manage.py collectstatic --noinput