Skip to content

Commit

Permalink
Install openssl in dockerfile (#264)
Browse files Browse the repository at this point in the history
* install openssl in dockerfile

* install openssl in prod

* change node image version
  • Loading branch information
elvincheng3 authored Jan 22, 2025
1 parent ab21e5e commit 306ba59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apps/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# 🧑‍💻 Development
#
FROM node:18-alpine as dev
FROM node:18-alpine3.17 as dev
# add the missing shared libraries from alpine base image
# RUN apk add --no-cache libc6-compat
# Create app folder
Expand Down Expand Up @@ -63,6 +63,9 @@ FROM node:18-alpine as prod
WORKDIR /app
RUN apk add --no-cache libc6-compat

# Install openssl
RUN apk add --no-cache openssl

# Set to production environment
ENV NODE_ENV production

Expand Down

0 comments on commit 306ba59

Please sign in to comment.