Для деплоя
This commit is contained in:
parent
3e1cfefdd9
commit
a93b621f0a
4 changed files with 25 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
FROM node:16-alpine
|
||||
|
||||
EXPOSE 8900
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm i -g pnpm
|
||||
|
||||
COPY package.json ./
|
||||
COPY pnpm-lock.yaml ./
|
||||
|
||||
RUN pnpm i
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "sh", "./start.sh" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue