diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..cd283d5 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,22 @@ +version: 3.8 + +services: + image: node:14 + build: + context: ./ + dockerfile: Dockerfile + command: ["yarn", "run", "dev"] + environment: + ENV: development + NODE_ENV: development + volumes: + - ./src:/var/src + - /var/src/node_modules + ports: + - 8080:80 + healthcheck: + test: ["CMD", "curl", "-sSG", "http://localhost/healthcheck"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 15s diff --git a/src/views/index.ejs b/src/views/index.ejs index cc7f88f..77629b5 100644 --- a/src/views/index.ejs +++ b/src/views/index.ejs @@ -81,7 +81,7 @@ section div {
- +