From c77fa926034cc51e92a3ba60481689ecd23fbd81 Mon Sep 17 00:00:00 2001 From: teawithfruit Date: Fri, 8 Jan 2021 11:58:53 +0100 Subject: [PATCH] Create docker-compose.yml --- docker-compose.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..7197a0c --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,18 @@ +version: '3.7' +services: + js-polyfill: + container_name: js-polyfill + restart: unless-stopped + healthcheck: + test: ["CMD", "wget", "-nv", "-t1", "--spider", "http://localhost:8801/v3/polyfill.min.js"] + interval: 30s + timeout: 30s + retries: 3 + image: js-polyfill + build: + context: ./ + dockerfile: ./Dockerfile + environment: + - NODE_ENV=production + ports: + - '8801:8801'