Spaces:
Sleeping
Sleeping
Commit ·
fe9682c
1
Parent(s): b0ce549
permissions
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -18,6 +18,8 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
| 18 |
# Set up a new user named "user" with user ID 1000
|
| 19 |
#RUN useradd -o -m -u 1000 user
|
| 20 |
|
|
|
|
|
|
|
| 21 |
# Switch to the "user" user
|
| 22 |
USER vscode
|
| 23 |
|
|
@@ -31,8 +33,6 @@ WORKDIR $HOME/app
|
|
| 31 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 32 |
COPY --chown=vscode . $HOME/app
|
| 33 |
|
| 34 |
-
RUN chown -R vscode:vscode /workspace/psychec
|
| 35 |
-
|
| 36 |
# Disable buffering to allow logging of standard output.
|
| 37 |
ENV PYTHONUNBUFFERED=1
|
| 38 |
|
|
|
|
| 18 |
# Set up a new user named "user" with user ID 1000
|
| 19 |
#RUN useradd -o -m -u 1000 user
|
| 20 |
|
| 21 |
+
RUN chown -R vscode:vscode /workspace/psychec
|
| 22 |
+
|
| 23 |
# Switch to the "user" user
|
| 24 |
USER vscode
|
| 25 |
|
|
|
|
| 33 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 34 |
COPY --chown=vscode . $HOME/app
|
| 35 |
|
|
|
|
|
|
|
| 36 |
# Disable buffering to allow logging of standard output.
|
| 37 |
ENV PYTHONUNBUFFERED=1
|
| 38 |
|