Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,16 @@ FROM node:21-alpine as build
RUN apk add gcompat

# Install PNPM
RUN wget -qO /bin/pnpm "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" && chmod +x /bin/pnpm
RUN wget -qO /bin/pnpm.tar.gz "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linux-x64-musl.tar.gz" \
&& cd /bin \
&& tar -xf /bin/pnpm.tar.gz \
&& chmod +x /bin/pnpm \
&& rm /bin/pnpm.tar.gz

WORKDIR /usr/src/app/

# By doing this separate we allow Docker to cache this
COPY package.json pnpm-lock.yaml /usr/src/app/
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml /usr/src/app/
RUN pnpm install

USER node
Expand Down
8 changes: 8 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
allowBuilds:
es5-ext: true
esbuild: true
sodium-native: true
onlyBuiltDependencies:
- es5-ext
- esbuild
- sodium-native
4 changes: 4 additions & 0 deletions src/route/wcl/fights.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ const fightQuery = gql`
id
startTime
}

countReached
countRequired
npcCountMap
}

phases {
Expand Down
Loading