Skip to content

Commit

Permalink
fix: install correct packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Nov 17, 2023
1 parent 42ba526 commit c68f481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ RUN apt update && apt install -y bash
WORKDIR /app

COPY --from=build /app/build /app/build
COPY --from=build /app/package.json /app/package.json
COPY --from=build /app/bun.lockb /app/bun.lockb

RUN bun install --production --ignore-scripts
RUN cd /app/build/node && bun install --no-save

COPY docker/entrypoint.sh /entrypoint.sh

Expand Down
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -m

bun /app/build/node/index.js &
cd /app/build/node/ && bun run start &

/yeet serve local -p /app/build/static/ --bot-proxy http://localhost:3000 --port 80 --log trace --404-index

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@urql/introspection": "^1.0.2",
"@urql/svelte": "^4.0.4",
"custom-protocol-check": "^1.4.0",
"dompurify": "^3.0.6",
"felte": "^1.2.12",
"graphql": "^16.8.1",
"js-cookie": "^3.0.5",
Expand Down Expand Up @@ -86,7 +87,6 @@
"cross-env": "^7.0.3",
"cssnano": "^6.0.1",
"cz-conventional-changelog": "^3.3.0",
"dompurify": "^3.0.6",
"dotenv-flow": "^4.0.1",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
Expand Down

0 comments on commit c68f481

Please sign in to comment.