Spaces:
Running
Running
Commit
·
34cbe2a
1
Parent(s):
8aae3ff
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -2,11 +2,11 @@ FROM python:3.9
|
|
2 |
|
3 |
COPY requirements.txt /
|
4 |
RUN pip install -r /requirements.txt
|
|
|
5 |
|
6 |
WORKDIR /app
|
7 |
|
8 |
COPY ./ /app
|
|
|
9 |
|
10 |
-
|
11 |
-
|
12 |
-
CMD python3 /app/app.py
|
|
|
2 |
|
3 |
COPY requirements.txt /
|
4 |
RUN pip install -r /requirements.txt
|
5 |
+
RUN apt-get -y update && apt-get -y install nginx
|
6 |
|
7 |
WORKDIR /app
|
8 |
|
9 |
COPY ./ /app
|
10 |
+
COPY /app/nginx.conf /etc/nginx
|
11 |
|
12 |
+
CMD ["/usr/sbin/nginx", "-g", "daemon off;"]
|
|
|
|