diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-10-24 23:19:33 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-10-24 23:19:33 +0300 |
commit | 9dfd6aa77518b3a1e6bfd926a3b7719c32a8c97f (patch) | |
tree | d10fc76ef816160871e3955aa75821bc5d5088d4 /docker-compose.yaml | |
parent | 4ca81621e5b31922565b4149ebad1deb5161071a (diff) |
use the new api
Diffstat (limited to 'docker-compose.yaml')
-rw-r--r-- | docker-compose.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
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 |