From 4d651e82ab1575ab33bed7db7cc73e08eabf89ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D1=80=D1=83=D0=B3=D0=BB=D0=B8=D1=86=D0=BA=D0=B8?= =?UTF-8?q?=D0=B9=20=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=92=D0=B8?= =?UTF-8?q?=D1=82=D0=B0=D0=BB=D1=8C=D0=B5=D0=B2=D0=B8=D1=87?= Date: Thu, 20 Nov 2025 22:07:47 +0600 Subject: [PATCH] deploy --- Dockerfile | 6 +++--- src/composables/useCollaborativeFlow.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index cfe5619..595a942 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,10 @@ RUN yarn install COPY . . RUN yarn build -FROM httpd:latest +FROM nginx:stable-alpine -COPY --from=build /app/dist /usr/local/apache2/htdocs/ +COPY --from=build /app/dist /usr/share/nginx/html EXPOSE 80 -#CMD ["nginx", "-g", "daemon off;"] +CMD ["nginx", "-g", "daemon off;"] diff --git a/src/composables/useCollaborativeFlow.ts b/src/composables/useCollaborativeFlow.ts index 5d80e39..fe764fa 100644 --- a/src/composables/useCollaborativeFlow.ts +++ b/src/composables/useCollaborativeFlow.ts @@ -186,7 +186,7 @@ export function useCollaborativeFlow(diagramId: MaybeRefOrGetter) { return provider.value = new WebsocketProvider( - import.meta.env.DEV ? 'ws://localhost:1234' : 'wss://api.koptilnya.xyz/bpmn', + import.meta.env.DEV ? 'ws://localhost:1234' : 'wss://bpmn-api.koptilnya.xyz', diagramId, yDoc, )