Skip to content

Commit

Permalink
fix: modified web server
Browse files Browse the repository at this point in the history
  • Loading branch information
qinluhe committed Jun 26, 2024
1 parent 3645dd1 commit f2991be
Show file tree
Hide file tree
Showing 18 changed files with 303 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ jobs:
SCRIPT_AFTER: |
docker build -t appflowy-web-app .
docker rm -f appflowy-web-app || true
docker run -d -p 80:80 -p 443:443 --name appflowy-web-app appflowy-web-app
docker run -d -p 80:80 -p 443:443 --env-file .env --name appflowy-web-app appflowy-web-app
2 changes: 1 addition & 1 deletion frontend/appflowy_web_app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /app
RUN apt-get update && \
apt-get install -y nginx

RUN bun install cheerio pino axios pino-pretty
RUN bun install cheerio pino pino-pretty

COPY . .

Expand Down
5 changes: 4 additions & 1 deletion frontend/appflowy_web_app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"coverage": "pnpm run test:unit && pnpm run test:components"
},
"dependencies": {
"@appflowyinc/client-api-wasm": "0.0.3",
"@appflowyinc/client-api-wasm": "0.0.4",
"@atlaskit/primitives": "^5.5.3",
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
Expand Down Expand Up @@ -139,6 +139,7 @@
"autoprefixer": "^10.4.13",
"babel-jest": "^29.6.2",
"chalk": "^4.1.2",
"cheerio": "1.0.0-rc.12",
"cross-env": "^7.0.3",
"cypress": "^13.7.2",
"eslint": "^8.57.0",
Expand All @@ -148,6 +149,8 @@
"istanbul-lib-coverage": "^3.2.2",
"jest-environment-jsdom": "^29.6.2",
"nyc": "^15.1.0",
"pino": "^9.2.0",
"pino-pretty": "^11.2.1",
"postcss": "^8.4.21",
"prettier": "2.8.4",
"prettier-plugin-tailwindcss": "^0.2.2",
Expand Down
Loading

0 comments on commit f2991be

Please sign in to comment.