File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ WORKDIR /usr/src/app
33COPY package.json ./
44COPY package-lock.json ./
55
6- RUN npm install
6+ RUN npm ci
77
88COPY src ./src
99COPY tsconfig.json ./
10+ COPY .babelrc ./
1011
11- RUN npm build
12+ RUN npm run build
1213
1314EXPOSE 43594
14- CMD [ "npm" , "start" ]
15+ CMD [ "npm" , "run" , " start:standalone " ]
Original file line number Diff line number Diff line change @@ -2,14 +2,15 @@ version: "3.8"
22
33services :
44 runejs_game_server :
5- image : node:16
6- container_name : runejs_game_server
5+ build :
6+ context : .
7+ dockerfile : Dockerfile
8+ volumes :
9+ - ./data:/usr/src/app/data
10+ - ./cache:/usr/src/app/cache
11+ - ./config:/usr/src/app/config
712 ports :
813 - " 43594:43594"
9- volumes :
10- - .:/usr/src/service
11- working_dir : /usr/src/service
12- command : npm run start
1314
1415networks :
1516 default :
You can’t perform that action at this time.
0 commit comments