dockerize app
This commit is contained in:
parent
af99a9b4c2
commit
091a21c8e6
9 changed files with 78 additions and 10 deletions
13
backend/Dockerfile
Normal file
13
backend/Dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
FROM node:22
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
Loading…
Add table
Add a link
Reference in a new issue