ThomasBlumet
commited on
Commit
·
ec6b87b
1
Parent(s):
437cdee
update the docker image
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -15,7 +15,7 @@ RUN python -m pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
15 |
|
16 |
# Creates a non-root user with an explicit UID and adds permission to access the /code folder
|
17 |
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
|
18 |
-
RUN useradd -u 1000
|
19 |
USER appuser
|
20 |
|
21 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|
|
|
15 |
|
16 |
# Creates a non-root user with an explicit UID and adds permission to access the /code folder
|
17 |
# For more info, please refer to https://aka.ms/vscode-docker-python-configure-containers
|
18 |
+
RUN useradd -u 1000 appuser && chown -R appuser /code
|
19 |
USER appuser
|
20 |
|
21 |
# During debugging, this entry point will be overridden. For more information, please refer to https://aka.ms/vscode-docker-python-debug
|