HBAB commited on
Commit
bc44885
verified
1 Parent(s): 52c35bb

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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"]