Refactor Docker setup for minimal image and update build scripts; adjust static asset serving in production
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m0s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 2m0s
This commit is contained in:
parent
363e1540e0
commit
20d6a8d577
6 changed files with 47 additions and 21 deletions
|
@ -57,11 +57,11 @@ jobs:
|
|||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
org.opencontainers.image.ref.name=${{ github.ref_name }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
- name: Build and push minimal Docker image
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
file: ./Dockerfile # Uses the Alpine-based minimal container
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }} # Use tags from metadata step
|
||||
labels: ${{ steps.meta.outputs.labels }} # Use labels from metadata step
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue