initial commit
This commit is contained in:
commit
f26e14119c
8 changed files with 2367 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM node:18-alpine as build-image
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock .
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=build-image /app/index.js /app/index.js
|
||||
EXPOSE 3000
|
||||
CMD [ "node", "index.js" ]
|
Loading…
Add table
Add a link
Reference in a new issue