Spaces:
Running
Running
Commit
·
b066c9c
1
Parent(s):
abf4f97
docker file update
Browse files- Dockerfile +0 -9
Dockerfile
CHANGED
@@ -7,15 +7,6 @@ RUN useradd -m -u 1000 user
|
|
7 |
ENV HOME=/ \
|
8 |
PATH=/bin:$PATH
|
9 |
|
10 |
-
# Switch to the user's home directory
|
11 |
-
WORKDIR $HOME
|
12 |
-
|
13 |
-
# Create a new directory named 'app'
|
14 |
-
RUN mkdir -p $HOME/app
|
15 |
-
|
16 |
-
# Copy the application files into the 'app' directory
|
17 |
-
COPY --chown=user:user . /app
|
18 |
-
|
19 |
# Copy the requirements file to the /code directory
|
20 |
COPY ./requirements.txt /code/requirements.txt
|
21 |
|
|
|
7 |
ENV HOME=/ \
|
8 |
PATH=/bin:$PATH
|
9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
# Copy the requirements file to the /code directory
|
11 |
COPY ./requirements.txt /code/requirements.txt
|
12 |
|