hotfix: fixes broken build
This commit is contained in:
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -82,8 +82,8 @@ jobs:
|
||||
deploy:
|
||||
needs: [docker]
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: ${{ github.ref_name == 'main' && 'production' || 'development' }}
|
||||
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main')
|
||||
environment: 'production'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -13,16 +13,16 @@ FROM base AS prod
|
||||
|
||||
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 . .
|
||||
|
||||
|
||||
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
|
||||
|
||||
EXPOSE 5000-7000
|
||||
|
||||
Reference in New Issue
Block a user