Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +0 -3
Dockerfile
CHANGED
|
@@ -11,9 +11,6 @@ WORKDIR /app
|
|
| 11 |
USER root
|
| 12 |
RUN apt-get update && apt-get install -y libgl1
|
| 13 |
|
| 14 |
-
# Create a non-root user for running the app
|
| 15 |
-
RUN useradd -m -u 1000 user
|
| 16 |
-
|
| 17 |
# Switch to non-root user
|
| 18 |
USER user
|
| 19 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
|
| 11 |
USER root
|
| 12 |
RUN apt-get update && apt-get install -y libgl1
|
| 13 |
|
|
|
|
|
|
|
|
|
|
| 14 |
# Switch to non-root user
|
| 15 |
USER user
|
| 16 |
COPY --chown=user ./requirements.txt requirements.txt
|