This commit is contained in:
parent
b9d2bf4487
commit
57369cf225
3 changed files with 3 additions and 3 deletions
|
|
@ -106,7 +106,7 @@ services:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
nakama:
|
nakama:
|
||||||
image: registry.heroiclabs.com/heroiclabs/nakama:3.21.1
|
image: registry.heroiclabs.com/heroiclabs/nakama:3.35.1
|
||||||
depends_on:
|
depends_on:
|
||||||
postgres:
|
postgres:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ RUN ls -la build/ && test -f build/index.js && \
|
||||||
sed -n '1259,1265p' build/index.js
|
sed -n '1259,1265p' build/index.js
|
||||||
|
|
||||||
# Stage 2: Nakama runtime with modules
|
# Stage 2: Nakama runtime with modules
|
||||||
FROM registry.heroiclabs.com/heroiclabs/nakama:3.21.1
|
FROM registry.heroiclabs.com/heroiclabs/nakama:3.35.1
|
||||||
|
|
||||||
# Copy compiled JavaScript modules
|
# Copy compiled JavaScript modules
|
||||||
# Nakama expects modules at /nakama/data/modules/
|
# Nakama expects modules at /nakama/data/modules/
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "Nakama server modules for realms.india",
|
"description": "Nakama server modules for realms.india",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npx esbuild src/main.ts --bundle --outfile=build/index.js --format=cjs --target=es6 --platform=node --charset=utf8 --main-fields=main,module"
|
"build": "npx esbuild src/main.ts --bundle --outfile=build/index.js --format=cjs --target=es2020 --platform=node --charset=utf8 --main-fields=main,module"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"esbuild": "^0.19.0",
|
"esbuild": "^0.19.0",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue