Fix para lanzar el comando nuevo
This commit is contained in:
@@ -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" ]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user