Spaces:
Sleeping
Sleeping
3 commit
Browse files- Dockerfile +9 -14
Dockerfile
CHANGED
@@ -1,21 +1,16 @@
|
|
1 |
-
# Use an official
|
2 |
-
FROM
|
3 |
|
4 |
-
#
|
5 |
-
|
6 |
-
|
7 |
-
# Install system packages using apt-get
|
8 |
-
RUN apt-get update \
|
9 |
-
&& apt-get install -y git \
|
10 |
-
&& rm -rf /var/lib/apt/lists/*
|
11 |
|
12 |
-
#
|
13 |
-
|
14 |
|
15 |
-
#
|
16 |
-
|
17 |
|
18 |
-
# Copy the
|
19 |
COPY . .
|
20 |
|
21 |
EXPOSE 7860
|
|
|
1 |
+
# Use an official Ubuntu base image
|
2 |
+
FROM ubuntu:latest
|
3 |
|
4 |
+
# Update the package lists
|
5 |
+
RUN apt-get update
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
+
# Install system packages
|
8 |
+
RUN apt-get install -y grep cut git
|
9 |
|
10 |
+
# Set the working directory in the container
|
11 |
+
WORKDIR /app
|
12 |
|
13 |
+
# Copy the rest of your application files
|
14 |
COPY . .
|
15 |
|
16 |
EXPOSE 7860
|