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, )