This commit is contained in:
parent
d89c8872d2
commit
0d72c4bf3b
7 changed files with 671 additions and 248 deletions
17
Containerfile
Normal file
17
Containerfile
Normal file
|
@ -0,0 +1,17 @@
|
|||
FROM node:16.13.1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package.json
|
||||
COPY yarn.lock yarn.lock
|
||||
|
||||
RUN yarn
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN yarn run build
|
||||
|
||||
ENV PORT 3000
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["yarn", "start"]
|
Loading…
Add table
Add a link
Reference in a new issue