Fix para lanzar el comando nuevo

This commit is contained in:
2026-03-09 17:23:13 +01:00
parent 97f8c55199
commit 4abaff17a6
2 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ COPY ./deployment/database/migrations ./deployment/database/migrations
RUN npm config set registry https://git.savefamilygps.net/api/packages/SaveFamily/npm/ &&\ RUN npm config set registry https://git.savefamilygps.net/api/packages/SaveFamily/npm/ &&\
echo "registry=https://registry.npmjs.org/" >> .npmrc &&\ echo "registry=https://registry.npmjs.org/" >> .npmrc &&\
npm install &&\ npm install &&\
ls && npm run build &&\ ls && npm run build:esbuild &&\
chmod +x start.sh chmod +x start.sh
EXPOSE ${PORT} EXPOSE ${PORT}
ENTRYPOINT [ "./start.sh" ] ENTRYPOINT [ "./start.sh" ]

View File

@@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
echo "Lanzando migraciones e iniciando servidor" echo "Lanzando migraciones e iniciando servidor"
npm run build npm run migrate
npm run build:esbuild
npm run start npm run start