Skip to content

Commit 61c0b7f

Browse files
mawad-amdCopilot
andauthored
Make /opt/venv writable in Dockerfile (#442)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2afde85 commit 61c0b7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ RUN apt-get update && \
2828
RUN groupadd -r video 2>/dev/null || true && \
2929
groupadd -r render 2>/dev/null || true
3030

31+
# Make the venv writable by all
32+
RUN chmod -R 777 /opt/venv
3133
# Install Python packages with pip
3234
RUN pip3 install --upgrade pip && \
3335
pip3 install wheel jupyter
@@ -53,4 +55,4 @@ RUN echo '#!/bin/bash' > /entrypoint.sh && \
5355
chmod +x /entrypoint.sh
5456

5557
# Set the entrypoint
56-
ENTRYPOINT ["/bin/bash", "-c", "source /entrypoint.sh && exec bash"]
58+
ENTRYPOINT ["/bin/bash", "-c", "source /entrypoint.sh && exec bash"]

0 commit comments

Comments
 (0)