Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -28,6 +28,9 @@ RUN apt-get update \
|
|
28 |
&& apt-get clean \
|
29 |
&& rm -rf /var/lib/apt/lists/*
|
30 |
|
|
|
|
|
|
|
31 |
# Copy the built virtual environment from the builder stage
|
32 |
COPY --from=builder /usr/local /usr/local
|
33 |
|
|
|
28 |
&& apt-get clean \
|
29 |
&& rm -rf /var/lib/apt/lists/*
|
30 |
|
31 |
+
# Switch to the root user
|
32 |
+
USER root
|
33 |
+
|
34 |
# Copy the built virtual environment from the builder stage
|
35 |
COPY --from=builder /usr/local /usr/local
|
36 |
|