Skip to content

Commit

Permalink
fix: set node version (#237)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcar121293 authored Dec 18, 2024
1 parent e2534ca commit 93637b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The Licensed Work is (c) 2023 Sygma
# SPDX-License-Identifier: LGPL-3.0-only
FROM node:18-alpine AS builder
FROM node:18.15-alpine AS builder

# update packages
RUN apk update
Expand Down Expand Up @@ -29,7 +29,7 @@ RUN yarn prisma:generate

RUN yarn build

FROM node:18-alpine
FROM node:18.15-alpine
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package*.json ./
COPY --from=builder /app/build ./build
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.api
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The Licensed Work is (c) 2023 Sygma
# SPDX-License-Identifier: LGPL-3.0-only
FROM node:18-alpine AS builder
FROM node:18.15-alpine AS builder

# update packages
RUN apk update
Expand Down Expand Up @@ -30,7 +30,7 @@ RUN yarn prisma:generate

RUN yarn build

FROM node:18-alpine
FROM node:18.15-alpine
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package*.json ./
COPY --from=builder /app/build ./build
Expand Down

0 comments on commit 93637b7

Please sign in to comment.