feat: add docker

This commit is contained in:
Gabriel Pastori
2023-11-24 13:22:20 -03:00
parent ad92e35523
commit df548543bf
7 changed files with 333 additions and 71 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
# Use a imagem oficial do Node.js 20 como base
FROM node:20-slim
WORKDIR /usr/src/app
RUN npm install -g vite
RUN ln -s /usr/local/bin/node /usr/bin/node
ENTRYPOINT ["npx", "evolution-manager", "server", "start"]
EXPOSE 9615