HBAB commited on
Commit
5014cff
verified
1 Parent(s): babf84d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -10
Dockerfile CHANGED
@@ -1,18 +1,17 @@
1
- FROM python:3.8-slim
2
 
3
- # Instalar Node.js
4
- RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
5
- apt-get install -y nodejs && \
6
- npm install -g jshint
7
 
8
- # Instalar dependencias de Python
9
- COPY requirements.txt .
10
- RUN pip install -r requirements.txt
11
 
12
- # Copiar el c贸digo del espacio
13
  COPY . /app
14
 
15
- # Establecer el directorio de trabajo
16
  WORKDIR /app
 
17
 
18
  CMD ["python", "app.py"]
 
1
+ FROM python:3.9
2
 
3
+ # Instalar Node.js y JSHint
4
+ RUN apt-get update && apt-get install -y \
5
+ nodejs \
6
+ npm
7
 
8
+ RUN npm install -g jshint
 
 
9
 
10
+ # Copiar tu c贸digo
11
  COPY . /app
12
 
13
+ # Instalar dependencias de Python
14
  WORKDIR /app
15
+ RUN pip install -r requirements.txt
16
 
17
  CMD ["python", "app.py"]