Spaces:
Paused
Paused
gfjiogopdfgdfs
commited on
Update Dockerfile
Browse files- Dockerfile +5 -6
Dockerfile
CHANGED
@@ -20,12 +20,11 @@ WORKDIR $HOME/app
|
|
20 |
COPY --chown=user . $HOME/app
|
21 |
|
22 |
RUN python3 -m pip install aphrodite-engine
|
23 |
-
RUN
|
24 |
-
|
25 |
-
|
26 |
-
RUN
|
27 |
-
|
28 |
|
29 |
EXPOSE 7860
|
30 |
# Should expose on all network interfaces so 0.0.0.0 not only localhost
|
31 |
-
CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model
|
|
|
20 |
COPY --chown=user . $HOME/app
|
21 |
|
22 |
RUN python3 -m pip install aphrodite-engine
|
23 |
+
RUN wget -O part_a.gguf $MODEL_PART_A
|
24 |
+
RUN wget -O part_b.gguf $MODEL_PART_B
|
25 |
+
RUN cat part_a.gguf part_b.gguf > model.gguf
|
26 |
+
RUN rm part_a.gguf part_b.gguf
|
|
|
27 |
|
28 |
EXPOSE 7860
|
29 |
# Should expose on all network interfaces so 0.0.0.0 not only localhost
|
30 |
+
CMD /bin/bash -c "/bin/python3 -m aphrodite.endpoints.openai.api_server $ENGINE_ARGS --port 7860 --host 0.0.0.0 --model $HOME/app/"
|