Skip to content

Commit

Permalink
Try specifying node and upgrading action
Browse files Browse the repository at this point in the history
  • Loading branch information
andychase committed Oct 23, 2024
1 parent b22c24c commit b3d028f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

# Build and push the Docker image with two tags: one using the Git tag or SHA, and another using 'main'.
- name: Build and push Docker image
uses: docker/build-push-action@v6.7.0
uses: docker/build-push-action@v6.9.0
with:
context: .
push: true
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---- Base Node ----
FROM node:alpine AS base
FROM node:23-alpine3.19 AS base
WORKDIR /app
COPY package*.json ./
COPY *env ./
Expand All @@ -14,7 +14,7 @@ COPY . .
RUN npm run build

# ---- Production ----
FROM node:alpine AS production
FROM node:23-alpine3.19 AS production
WORKDIR /app
COPY --from=dependencies /app/node_modules ./node_modules
COPY --from=build /app/.next ./.next
Expand Down

0 comments on commit b3d028f

Please sign in to comment.