Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -2,15 +2,14 @@
|
|
2 |
FROM python:3.10-slim-bullseye
|
3 |
|
4 |
# Set the working directory to corrent folder
|
5 |
-
WORKDIR
|
6 |
|
7 |
# Copy the requirements to working directory
|
8 |
-
COPY ./requirements.txt requirements.txt
|
9 |
|
10 |
# Install all packages in requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
|
12 |
|
13 |
-
WORKDIR app/
|
14 |
COPY . /app
|
15 |
|
16 |
EXPOSE 7860
|
|
|
2 |
FROM python:3.10-slim-bullseye
|
3 |
|
4 |
# Set the working directory to corrent folder
|
5 |
+
WORKDIR /app
|
6 |
|
7 |
# Copy the requirements to working directory
|
8 |
+
COPY ./requirements.txt /app/requirements.txt
|
9 |
|
10 |
# Install all packages in requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r ./requirements.txt
|
12 |
|
|
|
13 |
COPY . /app
|
14 |
|
15 |
EXPOSE 7860
|