Spaces:
Sleeping
Sleeping
acecalisto3
commited on
Update dockerfile.yml
Browse files- dockerfile.yml +6 -4
dockerfile.yml
CHANGED
@@ -1,12 +1,14 @@
|
|
1 |
# Base image
|
2 |
FROM python:3.9-slim-buster
|
3 |
|
4 |
-
|
5 |
WORKDIR /app
|
6 |
|
7 |
-
|
8 |
-
|
9 |
-
RUN pip install
|
|
|
|
|
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 .
|