more work with Dockerfile and dbmate
This commit is contained in:
@@ -14,5 +14,5 @@ COPY . .
|
||||
# Puerto de la aplicación
|
||||
EXPOSE 3000
|
||||
|
||||
# Comando de inicio
|
||||
CMD ["npm", "start"]
|
||||
# Ejecutar migraciones, seed y luego iniciar la app
|
||||
CMD ["sh", "-c", "npm run migrate:up && npm run seed && npm start"]
|
||||
|
||||
Reference in New Issue
Block a user