Skip to content

Commit 953c63c

Browse files
committed
fix
1 parent 96ee822 commit 953c63c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
name: 🏗️ Build
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 30
16-
environment: staging
1716
steps:
1817
- uses: actions/checkout@v4
1918
- env:
@@ -45,7 +44,6 @@ jobs:
4544
runs-on: ubuntu-latest
4645
timeout-minutes: 30
4746
needs: [build]
48-
environment: staging
4947
steps:
5048
- env:
5149
IMAGE_ID: ${{ needs.build.ouputs.IMAGE_ID }}

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ COPY . .
4444
RUN echo "$VERSION_TAG" > resources/version.txt
4545
RUN echo "$CHANGELOG_MD" > resources/changelog.md
4646

47+
# Build the client-side application
48+
RUN npm run build-prod
49+
4750
# So we can see which commit was used to build the container
4851
# https://openfront.io/commit.txt
4952
RUN echo "$GIT_COMMIT" > static/commit.txt
5053

51-
# Build the client-side application
52-
RUN npm run build-prod
53-
5454
# Update worker_connections in the existing nginx.conf
5555
RUN sed -i 's/worker_connections [0-9]*/worker_connections 8192/' /etc/nginx/nginx.conf
5656

0 commit comments

Comments
 (0)