This commit is contained in:
parent
b4ebc27541
commit
4d651e82ab
@ -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;"]
|
||||
|
||||
@ -186,7 +186,7 @@ export function useCollaborativeFlow(diagramId: MaybeRefOrGetter<string>) {
|
||||
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,
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user