From 9364c1767ad9079d293cd3ba24edf60c1202944e Mon Sep 17 00:00:00 2001 From: Stanislaw <62724833+BoberITman@users.noreply.github.com> Date: Wed, 15 Jun 2022 22:33:33 +0200 Subject: [PATCH] add dockerfile --- .github/workflows/deploy.yaml | 2 ++ Dockerfile | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 8fb7e17..dd0072e 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -3,6 +3,8 @@ name: Deploy on: push: branches: ["canary"] + pull_request: + branches: ["main"] workflow_dispatch: jobs: diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..602a577 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +# syntax=docker/dockerfile:1 +FROM node:16.15.1-alpine +WORKDIR /app +COPY ./ ./ +RUN npm install +CMD ["node", "index.js"] \ No newline at end of file