mirror of
https://github.com/heroiclabs/unity-sampleproject.git
synced 2026-11-13 15:21:29 -10:00
* Updates server to use Nakama 3.3.0. Adds Dockerfile that builds the TypeScript. Fixes issue with device authentication. * Fix PlayerPrefs key for refresh token * Updates package-lock.json to use lockfile version 2
15 lines
280 B
Docker
15 lines
280 B
Docker
FROM node:alpine AS node-builder
|
|
|
|
WORKDIR /backend
|
|
|
|
COPY package*.json .
|
|
RUN npm install
|
|
|
|
COPY tsconfig.json .
|
|
COPY src/*.ts src/
|
|
RUN npm run build
|
|
|
|
FROM heroiclabs/nakama:3.3.0
|
|
|
|
COPY --from=node-builder /backend/build/*.js /nakama/data/modules/build/
|
|
COPY local.yml /nakama/data/ |