Merge pull request #97 from HideyoshiSolutions/hotfix/conserta-deploy

hotfix: fixes broken build
This commit is contained in:
2025-11-01 13:21:39 -03:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -82,8 +82,8 @@ jobs:
deploy: deploy:
needs: [docker] needs: [docker]
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
name: ${{ github.ref_name == 'main' && 'production' || 'development' }} environment: 'production'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@@ -13,16 +13,16 @@ FROM base AS prod
WORKDIR /app WORKDIR /app
RUN apk add --update gettext python3 py3-pip py3-setuptools make g++ && \
rm -rf /var/cache/apk/*
COPY --from=build /app/node_modules ./node_modules COPY --from=build /app/node_modules ./node_modules
COPY . . COPY . .
RUN npm install -g @angular/cli@20.3.8 RUN npm install -g @angular/cli@20.3.8
RUN apk add --update gettext python3 py3-pip py3-setuptools make g++ && \
rm -rf /var/cache/apk/*
RUN npm run build:prod RUN npm run build:prod
EXPOSE 5000-7000 EXPOSE 5000-7000