Spaces:
Sleeping
Sleeping
Updated Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
ARG APP_PORT
|
2 |
-
FROM python:3.10.12-
|
3 |
|
4 |
# The two following lines are requirements for the Dev Mode to be functional
|
5 |
# Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
|
6 |
-
RUN
|
7 |
WORKDIR /app
|
8 |
|
9 |
COPY --chown=user ./requirements.txt requirements.txt
|
|
|
1 |
ARG APP_PORT
|
2 |
+
FROM python:3.10.12-slim
|
3 |
|
4 |
# The two following lines are requirements for the Dev Mode to be functional
|
5 |
# Learn more about the Dev Mode at https://huggingface.co/dev-mode-explorers
|
6 |
+
RUN useradd -m -u 1000 user
|
7 |
WORKDIR /app
|
8 |
|
9 |
COPY --chown=user ./requirements.txt requirements.txt
|