Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
@@ -7,10 +7,15 @@ RUN useradd -m -u 1000 user
|
|
7 |
USER user
|
8 |
|
9 |
# Set home to the user's home directory
|
10 |
-
ENV HOME=/home/user
|
11 |
-
|
|
|
12 |
|
13 |
# Set the working directory to the user's home directory
|
14 |
WORKDIR $HOME
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
7 |
USER user
|
8 |
|
9 |
# Set home to the user's home directory
|
10 |
+
ENV HOME=/home/user
|
11 |
+
ENV PATH=$HOME/.local/bin:$PATH
|
12 |
+
ENV SHELL=/bin/bash
|
13 |
|
14 |
# Set the working directory to the user's home directory
|
15 |
WORKDIR $HOME
|
16 |
|
17 |
+
COPY --chown=user . $HOME/app
|
18 |
+
|
19 |
+
EXPOSE 7860
|
20 |
+
ENTRYPOINT []
|
21 |
+
CMD ["/bin/bash", "./app/run.sh"]
|