Skip to content

Commit

Permalink
Fixes a Prisma SSL bug by bumping Prisma
Browse files Browse the repository at this point in the history
Signed-off-by: Mihovil Ilakovac <[email protected]>
  • Loading branch information
infomiho committed Oct 27, 2023
1 parent adf37c1 commit 967f960
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions waspc/data/Generator/templates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ FROM node:{= nodeMajorVersion =}-alpine3.17 AS node

FROM node AS base
RUN apk --no-cache -U upgrade # To ensure any potential security patches are applied.
# TODO: Remove line below (installation of openssl 1.1) once Prisma adds support for
# openssl 3 on alpine. Alpine >= 3.17 has openssl 3 as default.
# Relevant GH issue: https://github.com/wasp-lang/wasp/issues/877
RUN apk add --no-cache openssl1.1-compat


FROM base AS server-builder
Expand Down
2 changes: 1 addition & 1 deletion waspc/src/Wasp/Generator/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ data DbRootDir
instance AppComponentRootDir DbRootDir

prismaVersion :: SV.Version
prismaVersion = SV.Version 4 12 0
prismaVersion = SV.Version 4 16 2

makeJsonWithEntityData :: String -> Aeson.Value
makeJsonWithEntityData name =
Expand Down

0 comments on commit 967f960

Please sign in to comment.