Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -16,12 +16,11 @@ COPY --from=BUILD_IMAGE /app/package.json /app/package.json
|
|
16 |
COPY --from=BUILD_IMAGE /app/dist /app/dist
|
17 |
COPY --from=BUILD_IMAGE /app/public /app/public
|
18 |
COPY --from=BUILD_IMAGE /app/node_modules /app/node_modules
|
19 |
-
RUN sed -i "s|prefix: '/v1/chat',|prefix: '/api/v1/chat',|g" /app/src/api/routes/chat.ts
|
20 |
-
RUN sed -i "s|prefix: '/v1',|prefix: '/api/v1',|g" /app/src/api/routes/models.ts
|
21 |
WORKDIR /app
|
22 |
|
23 |
RUN chmod -R 777 /app
|
24 |
-
|
|
|
25 |
EXPOSE 8000
|
26 |
|
27 |
CMD ["npm", "start"]
|
|
|
16 |
COPY --from=BUILD_IMAGE /app/dist /app/dist
|
17 |
COPY --from=BUILD_IMAGE /app/public /app/public
|
18 |
COPY --from=BUILD_IMAGE /app/node_modules /app/node_modules
|
|
|
|
|
19 |
WORKDIR /app
|
20 |
|
21 |
RUN chmod -R 777 /app
|
22 |
+
RUN sed -i "s|prefix: '/v1/chat',|prefix: '/api/v1/chat',|g" /app/src/api/routes/chat.ts
|
23 |
+
RUN sed -i "s|prefix: '/v1',|prefix: '/api/v1',|g" /app/src/api/routes/models.ts
|
24 |
EXPOSE 8000
|
25 |
|
26 |
CMD ["npm", "start"]
|