carga
This commit is contained in:
7
backend/Dockerfile.sqlsetup
Normal file
7
backend/Dockerfile.sqlsetup
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM node:20 as builder
|
||||
RUN echo "Instalando backend para rodar migrations. . ."
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
ENTRYPOINT [ "npm", "run", "db:migrate" ,"&&", "npm", "run", "db:seed" ]
|
||||
Reference in New Issue
Block a user