Spaces:
Sleeping
Sleeping
Commit
·
f2fa40a
1
Parent(s):
f9c9a48
users
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -10,8 +10,6 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
python3-venv \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
-
USER vscode
|
| 14 |
-
|
| 15 |
# Create a virtual environment and install dependencies
|
| 16 |
RUN python3 -m venv /opt/venv
|
| 17 |
ENV PATH="/opt/venv/bin:$PATH"
|
|
@@ -29,6 +27,8 @@ WORKDIR $HOME/app
|
|
| 29 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 30 |
COPY --chown=vscode . $HOME/app
|
| 31 |
|
|
|
|
|
|
|
| 32 |
# Disable buffering to allow logging of standard output.
|
| 33 |
ENV PYTHONUNBUFFERED=1
|
| 34 |
|
|
|
|
| 10 |
python3-venv \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
|
|
|
|
|
|
| 13 |
# Create a virtual environment and install dependencies
|
| 14 |
RUN python3 -m venv /opt/venv
|
| 15 |
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
| 27 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 28 |
COPY --chown=vscode . $HOME/app
|
| 29 |
|
| 30 |
+
USER vscode
|
| 31 |
+
|
| 32 |
# Disable buffering to allow logging of standard output.
|
| 33 |
ENV PYTHONUNBUFFERED=1
|
| 34 |
|