seguimos mejorando
This commit is contained in:
@@ -7,6 +7,10 @@ RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
# Copiamos el script de arranque
|
||||
COPY entrypoint.sh /app/entrypoint.sh
|
||||
RUN chmod +x /app/entrypoint.sh
|
||||
|
||||
EXPOSE 4000
|
||||
|
||||
CMD ["sh", "-c", "npx prisma migrate deploy && node server.js"]
|
||||
CMD ["sh", "/app/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user