Spaces:
Running
Running
lucabadiali
commited on
Commit
·
f7003b3
1
Parent(s):
59a897e
AA
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -6,9 +6,7 @@ RUN useradd -m -u 1000 user
|
|
| 6 |
USER user
|
| 7 |
|
| 8 |
# 3. Set working directory
|
| 9 |
-
|
| 10 |
-
WORKDIR /home/user/app
|
| 11 |
-
|
| 12 |
# 4. Copy dependency file and install deps
|
| 13 |
COPY --chown=user requirements.txt .
|
| 14 |
RUN python3 -m pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 6 |
USER user
|
| 7 |
|
| 8 |
# 3. Set working directory
|
| 9 |
+
WORKDIR /
|
|
|
|
|
|
|
| 10 |
# 4. Copy dependency file and install deps
|
| 11 |
COPY --chown=user requirements.txt .
|
| 12 |
RUN python3 -m pip install --no-cache-dir -r requirements.txt
|