dominiquebuford
commited on
Commit
·
213bddd
1
Parent(s):
5a87b45
try new command
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -19,7 +19,7 @@ RUN pip install torch torchvision
|
|
19 |
WORKDIR /app
|
20 |
|
21 |
# Copy your application code to the container
|
22 |
-
|
23 |
COPY ./requirements.txt /app/requirements.txt
|
24 |
|
25 |
# Install Python dependencies from requirements.txt
|
@@ -28,6 +28,6 @@ RUN pip install -r requirements.txt
|
|
28 |
|
29 |
|
30 |
# Define the command to run your app using CMD which should be overridden when using the container with different commands
|
31 |
-
CMD ["python", "app
|
32 |
|
33 |
|
|
|
19 |
WORKDIR /app
|
20 |
|
21 |
# Copy your application code to the container
|
22 |
+
COPY app/ .
|
23 |
COPY ./requirements.txt /app/requirements.txt
|
24 |
|
25 |
# Install Python dependencies from requirements.txt
|
|
|
28 |
|
29 |
|
30 |
# Define the command to run your app using CMD which should be overridden when using the container with different commands
|
31 |
+
CMD ["python", "app.py", "--host", "0.0.0.0", "--port", "7860"]
|
32 |
|
33 |
|