You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I updated the client using the following setup:
update.sh:
#!/bin/bashset -e
echo"Pulling changes..."
git -C repo pull
git -C repo submodule update --init --recursive
echo"Building Docker image..."
docker build -t revolt-revite-builder .echo"Running Docker container..."
docker run --name revolt-build revolt-revite-builder
echo"Copying built files to local machine..."
rm -rf ./dist
docker cp revolt-build:/usr/src/app/dist ./dist
echo"Cleaning up Docker container..."
docker stop revolt-build
docker rm revolt-build
docker rmi revolt-revite-builder
echo"Build process completed successfully."
Dockerfile:
FROM node:16-buster AS builder
WORKDIR /usr/src/app
COPY repo/ .
COPY repo/.env.build .env
RUN yarn install --frozen-lockfile
RUN yarn build:deps
RUN yarn build:highmem
RUN yarn workspaces focus --production --all
Now, clearing the cookies and site data and accessing the client through nginx static serving, I get the following crash before being able to load anything else:
Ok so I have no idea if the issue is fixed though some recent commits, or that I changed something that fixed it, but it works now, with the following setup:
FROM node:16-buster AS builder
WORKDIR /usr/src/app
COPY ..
ENV VITE_API_URL=https://revolt.domain.com/api
RUN yarn install --frozen-lockfile
RUN yarn build:deps
RUN yarn build:highmem
RUN yarn workspaces focus --production --all
What happened?
Hello,
I updated the client using the following setup:
update.sh
:Dockerfile
:Now, clearing the cookies and site data and accessing the client through nginx static serving, I get the following crash before being able to load anything else:
Branch
Nightly (nightly.revolt.chat)
Commit hash
f9c2fce
What browsers are you seeing the problem on?
Firefox
Relevant log output
No other logs, even in browser console, apart from CORS fail to reporting.revolt.app
Desktop
PWA
The text was updated successfully, but these errors were encountered: