Spaces:
Build error
Build error
Commit ·
0e244c2
1
Parent(s): d733f3b
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -14,9 +14,9 @@ RUN python -m pip install -r requirements.txt
|
|
| 14 |
WORKDIR /src
|
| 15 |
COPY . /src
|
| 16 |
|
| 17 |
-
# Creates a non-root user with an explicit UID and adds permission to access the /
|
| 18 |
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
|
| 19 |
-
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /
|
| 20 |
USER appuser
|
| 21 |
|
| 22 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|
|
|
|
| 14 |
WORKDIR /src
|
| 15 |
COPY . /src
|
| 16 |
|
| 17 |
+
# Creates a non-root user with an explicit UID and adds permission to access the /src folder
|
| 18 |
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
|
| 19 |
+
RUN adduser -u 5678 --disabled-password --gecos "" appuser && chown -R appuser /src
|
| 20 |
USER appuser
|
| 21 |
|
| 22 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|