chore: add Dockerfile
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
FROM node@sha256:86703151a18fcd06258e013073508c4afea8e19cd7ed451554221dd00aea83fc
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
COPY package.json /usr/src/app/package.json
|
||||
|
||||
RUN npm install
|
||||
|
||||
USER node
|
||||
|
||||
COPY . /usr/src/app/
|
||||
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user