Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -11
Dockerfile
CHANGED
|
@@ -1,11 +1,3 @@
|
|
| 1 |
-
FROM
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
-
|
| 7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
| 8 |
-
|
| 9 |
-
COPY . .
|
| 10 |
-
|
| 11 |
-
CMD ["python", "app.py"]
|
|
|
|
| 1 |
+
FROM nginx:alpine
|
| 2 |
+
COPY index.html /usr/share/nginx/html/index.html
|
| 3 |
+
EXPOSE 80
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|