Scripts de inicio con migraciones

This commit is contained in:
2026-02-20 10:59:15 +01:00
parent b208c9c301
commit 12dae135b5
3 changed files with 4 additions and 2 deletions

View File

@@ -18,6 +18,6 @@ RUN yarn install && \
yarn build && \
chmod +x start.sh
EXPOSE ${PORT}
ENTRYPOINT [ "start.sh" ]
ENTRYPOINT [ "./start.sh" ]

View File

@@ -1,2 +1,3 @@
#!/bin/sh
echo "Lanzando migraciones e iniciando servidor"
yarn migrate && yarn start