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:
|
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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user