Spaces:
Paused
Paused
change entry
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -32,12 +32,14 @@ ENV HOME=/home/user \
|
|
| 32 |
PATH=/home/user/.local/bin:$PATH
|
| 33 |
|
| 34 |
# Set the working directory to the user's home directory
|
| 35 |
-
WORKDIR $HOME/app
|
| 36 |
-
|
| 37 |
COPY entrypoint.sh .
|
| 38 |
|
|
|
|
|
|
|
| 39 |
COPY --chown=user . $HOME/app
|
| 40 |
|
|
|
|
|
|
|
| 41 |
RUN chmod +x $HOME/app/entrypoint.sh
|
| 42 |
|
| 43 |
ENTRYPOINT ["$HOME/app/entrypoint.sh"]
|
|
|
|
| 32 |
PATH=/home/user/.local/bin:$PATH
|
| 33 |
|
| 34 |
# Set the working directory to the user's home directory
|
|
|
|
|
|
|
| 35 |
COPY entrypoint.sh .
|
| 36 |
|
| 37 |
+
WORKDIR $HOME/app
|
| 38 |
+
|
| 39 |
COPY --chown=user . $HOME/app
|
| 40 |
|
| 41 |
+
COPY entrypoint.sh $HOME/app/
|
| 42 |
+
|
| 43 |
RUN chmod +x $HOME/app/entrypoint.sh
|
| 44 |
|
| 45 |
ENTRYPOINT ["$HOME/app/entrypoint.sh"]
|