Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio Brasileiro authored and Fabio Brasileiro committed Nov 18, 2024
1 parent 54866cd commit c970f40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
15 changes: 0 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,8 @@
# Use a imagem base do Node.js
FROM node:22

# Defina o diretório de trabalho no container
WORKDIR /usr/src/app

# Copie o package.json e package-lock.json para o diretório de trabalho
COPY package*.json ./

# Instale as dependências da aplicação
RUN npm install

# Copie o restante do código da aplicação
COPY . .

# Gere o Prisma Client e compile o código TypeScript
RUN npx prisma generate && npm run build

# Exponha a porta que a aplicação irá usar
EXPOSE 3000

# Defina o comando para iniciar a aplicação
CMD ["node", "build/server.cjs"]
1 change: 0 additions & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ enum ProposalStatus {
REJECTED
}


enum UserRole {
PENDING
USER
Expand Down

0 comments on commit c970f40

Please sign in to comment.