added docker

This commit is contained in:
Jincheng Lu 2022-03-31 02:18:54 -07:00
parent 53bf9199ea
commit 43e64028c1
3 changed files with 13 additions and 0 deletions

4
.dockerignore Normal file
View File

@ -0,0 +1,4 @@
node_modules
docker
Dockerfile
.dockerignore

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
# syntax=docker/dockerfile:1
FROM node:16.14.0
ENV NODE_ENV=production
WORKDIR /Alley-HSBC-Frontend
COPY ["package.json", "package-lock.json*", "./"]
COPY . .
RUN npm install
CMD [ "npm", "run", "start-local" ]

1
docker/DeploymentToken Normal file
View File

@ -0,0 +1 @@
cf7348ee-36e8-4be5-9a38-af78651023b0