Spaces:
Runtime error
Runtime error
Commit
·
a3788b5
1
Parent(s):
ce35797
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -2,10 +2,10 @@ FROM python:3.9
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
-
COPY ./
|
6 |
|
7 |
-
RUN pip install
|
8 |
|
9 |
-
|
10 |
|
11 |
-
CMD
|
|
|
2 |
|
3 |
WORKDIR /code
|
4 |
|
5 |
+
COPY ./code
|
6 |
|
7 |
+
RUN pip install -r /code/requirements.txt
|
8 |
|
9 |
+
EXPOSE 5000
|
10 |
|
11 |
+
CMD python ./caption_api.py
|