dominiquebuford
commited on
Commit
·
f01807f
1
Parent(s):
7f8a4df
try new command
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -19,8 +19,8 @@ RUN pip install torch torchvision
|
|
19 |
WORKDIR /app
|
20 |
|
21 |
# Copy your application code to the container
|
22 |
-
COPY app/
|
23 |
-
COPY requirements.txt requirements.txt
|
24 |
|
25 |
# Install Python dependencies from requirements.txt
|
26 |
RUN pip install -r 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.py", "--host", "0.0.0.0", "--port", "7860"]
|
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
|
26 |
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/app.py", "--host", "0.0.0.0", "--port", "7860"]
|
32 |
|
33 |
|