Skip to content

Commit 306ba59

Browse files
authored
Install openssl in dockerfile (#264)
* install openssl in dockerfile * install openssl in prod * change node image version
1 parent ab21e5e commit 306ba59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/server/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# 🧑‍💻 Development
55
#
6-
FROM node:18-alpine as dev
6+
FROM node:18-alpine3.17 as dev
77
# add the missing shared libraries from alpine base image
88
# RUN apk add --no-cache libc6-compat
99
# Create app folder
@@ -63,6 +63,9 @@ FROM node:18-alpine as prod
6363
WORKDIR /app
6464
RUN apk add --no-cache libc6-compat
6565

66+
# Install openssl
67+
RUN apk add --no-cache openssl
68+
6669
# Set to production environment
6770
ENV NODE_ENV production
6871

0 commit comments

Comments
 (0)