Skip to content

Commit

Permalink
install openssl in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
elvincheng3 committed Jan 22, 2025
1 parent ed73420 commit 3980465
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ WORKDIR /app
# Set to dev environment
ENV NODE_ENV dev

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

# Create non-root user for Docker
# RUN addgroup --system --gid 1001 node
# RUN adduser --system --uid 1001 node
Expand Down Expand Up @@ -66,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 3980465

Please sign in to comment.