Spaces:
Sleeping
Sleeping
9 commit
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -2,16 +2,18 @@
|
|
2 |
FROM ubuntu:latest
|
3 |
|
4 |
WORKDIR /code
|
|
|
|
|
5 |
# Update the package lists
|
6 |
RUN apt-get update
|
7 |
|
8 |
# Install system packages
|
9 |
RUN apt-get install -y grep git python3 python3-pip
|
10 |
|
11 |
-
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
12 |
|
13 |
# Copy the rest of your application files
|
14 |
-
|
15 |
|
16 |
EXPOSE 7860
|
17 |
|
|
|
2 |
FROM ubuntu:latest
|
3 |
|
4 |
WORKDIR /code
|
5 |
+
|
6 |
+
COPY . /code
|
7 |
# Update the package lists
|
8 |
RUN apt-get update
|
9 |
|
10 |
# Install system packages
|
11 |
RUN apt-get install -y grep git python3 python3-pip
|
12 |
|
13 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
14 |
|
15 |
# Copy the rest of your application files
|
16 |
+
|
17 |
|
18 |
EXPOSE 7860
|
19 |
|