Spaces:
Running
Running
rajeshchoudharyt
commited on
Commit
•
6213fdc
1
Parent(s):
459e9e0
update
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -4,9 +4,9 @@ COPY . .
|
|
4 |
|
5 |
WORKDIR /
|
6 |
|
7 |
-
RUN pip install
|
8 |
|
9 |
RUN useradd -m -u 1000 user
|
10 |
USER user
|
11 |
|
12 |
-
CMD ["
|
|
|
4 |
|
5 |
WORKDIR /
|
6 |
|
7 |
+
RUN pip install -r /requirements.txt
|
8 |
|
9 |
RUN useradd -m -u 1000 user
|
10 |
USER user
|
11 |
|
12 |
+
CMD ["uvicorn", "app:app", "--port", "80"]
|