acecalisto3 commited on
Commit
9b49ed1
1 Parent(s): 208c5b6

Update dockerfile.yml

Browse files
Files changed (1) hide show
  1. dockerfile.yml +6 -4
dockerfile.yml CHANGED
@@ -1,12 +1,14 @@
1
  # Base image
2
  FROM python:3.9-slim-buster
3
 
4
- # Set working directory
5
  WORKDIR /app
6
 
7
- # Copy requirements.txt and install dependencies
8
- COPY requirements.txt .
9
- RUN pip install --no-cache-dir -r requirements.txt
 
 
10
 
11
  # Copy package.json and install npm packages
12
  COPY package.json .
 
1
  # Base image
2
  FROM python:3.9-slim-buster
3
 
4
+
5
  WORKDIR /app
6
 
7
+ COPY . .
8
+
9
+ RUN pip install -r requirements.txt
10
+
11
+ CMD ["python", "app.py"]
12
 
13
  # Copy package.json and install npm packages
14
  COPY package.json .