Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Bubbles The Dev <152947339+KernFerm@users.noreply.github.com>
  • Loading branch information
KernFerm authored Nov 11, 2024
1 parent a1c7d4e commit d88d57f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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"]

0 comments on commit d88d57f

Please sign in to comment.