[go: nahoru, domu]

Skip to content

Commit

Permalink
Update to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
makidoll committed Oct 25, 2023
1 parent a3d0bb3 commit ee6eb4d
Show file tree
Hide file tree
Showing 4 changed files with 2,883 additions and 2,478 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM rockylinux:9

RUN dnf install -y nodejs && npm i -g yarn
RUN dnf install -y nodejs && npm i -g pnpm

WORKDIR /app

ADD package.json yarn.lock /app/
RUN yarn install
ADD package.json pnpm-lock.yaml /app/
RUN pnpm install --frozen-lockfile

ADD . .
RUN yarn build
RUN pnpm build

CMD yarn serve
CMD pnpm serve
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@ Find blåhajar on a map

https://blahaj.quest

## Develop

```
yarn
yarn start
pnpm install
pnpm start
```

## Build and run

```
yarn build
yarn serve
pnpm build
pnpm serve
```
Loading

0 comments on commit ee6eb4d

Please sign in to comment.