Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -8,12 +8,12 @@ USER app
|
|
8 |
WORKDIR /app/.ollama
|
9 |
#Copy dossier de models
|
10 |
#COPY --chown=app models /.ollama
|
11 |
-
|
12 |
# Copy the entry point script
|
13 |
-
COPY
|
14 |
-
RUN chmod +x /start.sh
|
15 |
# Set the entry point script as the default command
|
16 |
-
CMD ["/start.sh"]
|
17 |
#ENV OLLAMA_MODELS="/home/app/.ollama/models"
|
18 |
# Expose the server port
|
19 |
EXPOSE 7860
|
|
|
8 |
WORKDIR /app/.ollama
|
9 |
#Copy dossier de models
|
10 |
#COPY --chown=app models /.ollama
|
11 |
+
RUN chmod 777 /app/.ollama/models
|
12 |
# Copy the entry point script
|
13 |
+
COPY start.sh /app/start.sh
|
14 |
+
RUN chmod +x /app/start.sh
|
15 |
# Set the entry point script as the default command
|
16 |
+
CMD ["/app/start.sh"]
|
17 |
#ENV OLLAMA_MODELS="/home/app/.ollama/models"
|
18 |
# Expose the server port
|
19 |
EXPOSE 7860
|