mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
Begin on devops
This commit is contained in:
2
backend/.dockerignore
Normal file
2
backend/.dockerignore
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
dockerfile
|
||||
8
backend/dockerfile
Normal file
8
backend/dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM node:lts-alpine
|
||||
WORKDIR /app
|
||||
RUN corepack enable && corepack prepare pnpm@latest --activate
|
||||
COPY package.json pnpm-*.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
EXPOSE 3000
|
||||
CMD [ "pnpm", "start" ]
|
||||
Reference in New Issue
Block a user