Initial commit
This commit is contained in:
commit
7724a7614e
24 changed files with 1653 additions and 0 deletions
17
app/Dockerfile
Normal file
17
app/Dockerfile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
FROM node:lts as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY package-lock.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
FROM node:lts
|
||||
|
||||
COPY --from=build /app /app
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "/app/server.js"]
|
||||
Reference in a new issue