From d88d57fe45654efd8d64fd4a0f398b8bd67ee960 Mon Sep 17 00:00:00 2001 From: Bubbles The Dev <152947339+KernFerm@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:44:07 -0500 Subject: [PATCH] Update Dockerfile Signed-off-by: Bubbles The Dev <152947339+KernFerm@users.noreply.github.com> --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f08e9e5..1d79538 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ -# Use the official Node.js LTS image based on Alpine (smaller and minimal) +# Use the official Node.js LTS image based on Alpine FROM node:lts-alpine +# Update apk and explicitly install OpenSSL +RUN apk update && apk add --no-cache openssl + # Set working directory inside the container WORKDIR /app @@ -12,7 +15,7 @@ RUN npm install --production COPY . . # Expose the app port -EXPOSE 3000 +EXPOSE 9090 # Command to start the app CMD ["npm", "start"]