diff --git a/.gitea/workflows/deployProd.yml b/.gitea/workflows/deployProd.yml index 43d39bb..ad85387 100644 --- a/.gitea/workflows/deployProd.yml +++ b/.gitea/workflows/deployProd.yml @@ -8,10 +8,10 @@ on: jobs: CreateImage: - runs-on: [frontstaging] + runs-on: [skeris] uses: https://gitea.pena/PenaDevops/actions.git/.gitea/workflows/build-image.yml@v1.1.6-p with: - runner: hubstaging + runner: skeris secrets: REGISTRY_USER: ${{ secrets.REGISTRY_USER }} REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} diff --git a/Dockerfile b/Dockerfile index dd026c0..49a1acb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ FROM gitea.pena/penadevops/container-images/node:main as build -RUN apk update && rm -rf /var/cache/apk/* WORKDIR /usr/app COPY . . -RUN yarn install --verbose --ignore-scripts --non-interactive && yarn cache clean -RUN yarn build +RUN npm install --force && yarn cache clean +RUN npm run build FROM gitea.pena/penadevops/container-images/nginx:main as result