From 9dfd6aa77518b3a1e6bfd926a3b7719c32a8c97f Mon Sep 17 00:00:00 2001 From: kartofen Date: Mon, 24 Oct 2022 23:19:33 +0300 Subject: use the new api --- docker-compose.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docker-compose.yaml (limited to 'docker-compose.yaml') diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..046eb60 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,18 @@ +version: "3.4" +services: + scale: + image: "node:latest" + container_name: scale + user: "node" + working_dir: /home/node/app + environment: + - NODE_ENV=production + volumes: + - ./:/home/node/app + ports: + - "3000:3000" + entrypoint: ["/bin/sh","-c"] + command: + - | + npm run build + node server.mjs -- cgit v1.2.3