Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -36,9 +36,10 @@ ENV PORT=7860
|
|
| 36 |
COPY --from=build-image ${MODEL} ${MODEL}
|
| 37 |
COPY ./main.py ./
|
| 38 |
COPY ./start_server.sh ./
|
|
|
|
| 39 |
# COPY ./index.html ./
|
| 40 |
RUN pip install --no-cache-dir open-text-embeddings[server] langchain_community && \
|
| 41 |
-
chmod +x ./*.sh &&
|
| 42 |
|
| 43 |
# Expose a port for the server
|
| 44 |
EXPOSE ${PORT}
|
|
|
|
| 36 |
COPY --from=build-image ${MODEL} ${MODEL}
|
| 37 |
COPY ./main.py ./
|
| 38 |
COPY ./start_server.sh ./
|
| 39 |
+
COPY ./patch.sh ./
|
| 40 |
# COPY ./index.html ./
|
| 41 |
RUN pip install --no-cache-dir open-text-embeddings[server] langchain_community && \
|
| 42 |
+
chmod +x ./*.sh && python patch.py
|
| 43 |
|
| 44 |
# Expose a port for the server
|
| 45 |
EXPOSE ${PORT}
|