Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -35,7 +35,12 @@ WORKDIR /app
|
|
35 |
# Copy the executable from the build stage
|
36 |
COPY --from=build /build/llama.cpp/build/bin/server /app
|
37 |
COPY --from=build /data/model.gguf /data/model.gguf
|
|
|
38 |
WORKDIR /app
|
39 |
EXPOSE 7860
|
40 |
|
41 |
-
|
|
|
|
|
|
|
|
|
|
35 |
# Copy the executable from the build stage
|
36 |
COPY --from=build /build/llama.cpp/build/bin/server /app
|
37 |
COPY --from=build /data/model.gguf /data/model.gguf
|
38 |
+
COPY ./run.sh /app/run.sh
|
39 |
WORKDIR /app
|
40 |
EXPOSE 7860
|
41 |
|
42 |
+
# Make the script executable
|
43 |
+
RUN chmod +x run.sh
|
44 |
+
|
45 |
+
# CMD to run your script
|
46 |
+
CMD ./run.sh
|