Enviar arquivos para "/"

This commit is contained in:
2024-11-24 08:56:24 -08:00
commit 37b8263f35
2 changed files with 21 additions and 0 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
.next
.env

18
dockerfile Normal file
View File

@ -0,0 +1,18 @@
FROM node:18-alpine
WORKDIR /app
# Copiar arquivos de configuração
COPY package.json package-lock.json ./
COPY . .
# Instalar dependências
RUN npm install
RUN npx prisma generate
# Build da aplicação
RUN npm run build
EXPOSE 3000
CMD ["npm", "start"]