mirror of
https://github.com/Kellojo/Modular-Homelab-Dashboard
synced 2026-04-21 13:37:18 +00:00
Switched back to regular node image
This commit is contained in:
parent
08d45fcd7a
commit
9f4219c722
2 changed files with 1 additions and 15 deletions
14
.github/workflows/docker-image.yml
vendored
14
.github/workflows/docker-image.yml
vendored
|
|
@ -38,19 +38,6 @@ jobs:
|
|||
echo "Updated package.json to version $VERSION"
|
||||
cat package.json | grep version
|
||||
|
||||
- name: Login to Docker Hub (required for Docker Hardened Images)
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_ACCESS_TOKEN_IMAGE_READ_ONLY }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: false
|
||||
pull: true
|
||||
|
||||
- name: Log in to GHCR
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
|
|
@ -69,6 +56,5 @@ jobs:
|
|||
with:
|
||||
context: .
|
||||
push: true
|
||||
pull: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ COPY . .
|
|||
RUN npm run build
|
||||
RUN npm prune --production
|
||||
|
||||
FROM dhi.io/node:25
|
||||
FROM node:25-alpine
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/build build/
|
||||
COPY --from=builder /app/node_modules node_modules/
|
||||
|
|
|
|||
Loading…
Reference in a new issue