Spaces:
Sleeping
Sleeping
Commit
·
a7bc54f
1
Parent(s):
07074a2
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -8,14 +8,14 @@ USER user
|
|
8 |
# Dockerfile
|
9 |
|
10 |
# Copy local code to the container image.
|
11 |
-
ENV HOME=/home/user
|
12 |
-
WORKDIR
|
13 |
-
COPY .
|
14 |
|
15 |
RUN pip install --no-cache-dir --upgrade pip
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
-
COPY --chown=user .
|
19 |
|
20 |
|
21 |
# Run the web service on container startup. Here we use the gunicorn
|
|
|
8 |
# Dockerfile
|
9 |
|
10 |
# Copy local code to the container image.
|
11 |
+
# ENV HOME=/home/user
|
12 |
+
WORKDIR /app
|
13 |
+
COPY . /app
|
14 |
|
15 |
RUN pip install --no-cache-dir --upgrade pip
|
16 |
RUN pip install --no-cache-dir -r requirements.txt
|
17 |
|
18 |
+
COPY --chown=user . /app
|
19 |
|
20 |
|
21 |
# Run the web service on container startup. Here we use the gunicorn
|