Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -33,14 +33,15 @@ RUN mkdir -p models/7B && \
|
|
33 |
wget -O models/7B/${MODEL_FILE} ${MODEL_URL}
|
34 |
|
35 |
# List contents to verify the location of the server executable
|
|
|
36 |
RUN ls -la models/7B/
|
37 |
-
RUN ls -la models/7B/${MODEL_FILE}
|
38 |
|
39 |
# Changing ownership to a non-root user
|
40 |
RUN useradd -m -u 1000 user && chown -R user:user /app
|
41 |
USER user
|
42 |
ENV HOME=/home/user \
|
43 |
PATH=/home/user/.local/bin:$PATH
|
|
|
44 |
|
45 |
# Setting up the application
|
46 |
EXPOSE 8080
|
|
|
33 |
wget -O models/7B/${MODEL_FILE} ${MODEL_URL}
|
34 |
|
35 |
# List contents to verify the location of the server executable
|
36 |
+
RUN pwd
|
37 |
RUN ls -la models/7B/
|
|
|
38 |
|
39 |
# Changing ownership to a non-root user
|
40 |
RUN useradd -m -u 1000 user && chown -R user:user /app
|
41 |
USER user
|
42 |
ENV HOME=/home/user \
|
43 |
PATH=/home/user/.local/bin:$PATH
|
44 |
+
RUN chmod -R 777 /app/llama.cpp
|
45 |
|
46 |
# Setting up the application
|
47 |
EXPOSE 8080
|