Skip to content

Commit

Permalink
fix: fixing alpine version in dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bl4ko committed Mar 13, 2024
1 parent c461ea4 commit 051c01d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build and push final image
uses: docker/build-push-action@af5a7ed5ba88268d5278f7203fb52cd833f66d6e # v5.2.0
with:
platforms: linux/amd64,linux/arm64,linux/386,linux/arm/v6,linux/arm/v7
platforms: linux/amd64,linux/arm64
tags: |
bl4ko/homepage:latest
bl4ko/homepage:${{ github.ref_name }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:21-alpine3.18@sha256:a0b2286b29138d5265edb6ee1b7e48579d705bf93fd6e0ce8f56e87fbb5136ef AS base
FROM node:21.7.1-alpine3.19 AS base

# Install dependencies only when needed
FROM base AS deps
Expand Down Expand Up @@ -49,4 +49,4 @@ EXPOSE 3000

ENV PORT 3000

CMD ["node", "server.js", "0.0.0.0:3000"]
CMD ["node", "server.js", "0.0.0.0:3000"]

0 comments on commit 051c01d

Please sign in to comment.