Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -27,10 +27,7 @@ ENV PORT=7860
|
|
27 |
EXPOSE 7860
|
28 |
|
29 |
# Ensure the worker user has the necessary permissions
|
30 |
-
RUN mkdir -p local_data/private_gpt/chromadb && chown -R worker
|
31 |
-
|
32 |
-
# Add the worker user to the staff group
|
33 |
-
RUN adduser worker staff
|
34 |
|
35 |
# Copy only the necessary files for the app
|
36 |
COPY --chown=worker --from=dependencies /home/worker/app/.venv/ .venv
|
|
|
27 |
EXPOSE 7860
|
28 |
|
29 |
# Ensure the worker user has the necessary permissions
|
30 |
+
RUN mkdir -p local_data/private_gpt/chromadb && chown -R worker:worker local_data/private_gpt
|
|
|
|
|
|
|
31 |
|
32 |
# Copy only the necessary files for the app
|
33 |
COPY --chown=worker --from=dependencies /home/worker/app/.venv/ .venv
|