Update Dockerfile
Browse files- Dockerfile +0 -14
Dockerfile
CHANGED
@@ -6,19 +6,5 @@ RUN useradd -m appuser && chown -R appuser:appuser /home/appuser
|
|
6 |
|
7 |
USER appuser
|
8 |
|
9 |
-
# Builder stage
|
10 |
-
FROM ubuntu:latest
|
11 |
-
|
12 |
-
RUN apt update && apt install curl -y
|
13 |
-
|
14 |
-
RUN curl curl -fsSL https://ollama.com/install.sh | sh
|
15 |
-
|
16 |
-
# Create the directory and give appropriate permissions
|
17 |
-
RUN mkdir -p /.ollama && chmod 777 /.ollama
|
18 |
-
|
19 |
-
# Command to run the application
|
20 |
-
CMD ollama serve & ollama pull mixtral
|
21 |
-
|
22 |
-
|
23 |
# Expose the server port
|
24 |
EXPOSE 7860
|
|
|
6 |
|
7 |
USER appuser
|
8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
# Expose the server port
|
10 |
EXPOSE 7860
|