add dockerfile
This commit is contained in:
2
.github/workflows/deploy.yaml
vendored
2
.github/workflows/deploy.yaml
vendored
@@ -3,6 +3,8 @@ name: Deploy
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["canary"]
|
branches: ["canary"]
|
||||||
|
pull_request:
|
||||||
|
branches: ["main"]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
FROM node:16.15.1-alpine
|
||||||
|
WORKDIR /app
|
||||||
|
COPY ./ ./
|
||||||
|
RUN npm install
|
||||||
|
CMD ["node", "index.js"]
|
||||||
Reference in New Issue
Block a user