Commit ·
6d2ceb6
1
Parent(s): fc90cac
fixed dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -51,7 +51,8 @@ RUN useradd -m -u 1000 appuser
|
|
| 51 |
ENV HOME=/home/appuser
|
| 52 |
# PATH is already set to include venv
|
| 53 |
|
| 54 |
-
|
|
|
|
| 55 |
|
| 56 |
# Copy application code into the appuser's WORKDIR, and set ownership
|
| 57 |
# These files (requirements.txt, app/, main.py) should be in the root of your HF Space Git repo
|
|
|
|
| 51 |
ENV HOME=/home/appuser
|
| 52 |
# PATH is already set to include venv
|
| 53 |
|
| 54 |
+
# Set workdir to user's home app subfolder
|
| 55 |
+
WORKDIR $HOME/app
|
| 56 |
|
| 57 |
# Copy application code into the appuser's WORKDIR, and set ownership
|
| 58 |
# These files (requirements.txt, app/, main.py) should be in the root of your HF Space Git repo
|