Files
Tom Glenn 1a930e46ad Updates to use Nakama 3.3.0 (#16)
* 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
2021-06-08 17:39:58 +01:00

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/