From 04a0358dd6f5e6342e69143febe666e362feebe4 Mon Sep 17 00:00:00 2001 From: gamvo74 <45856534+gamvo74@users.noreply.github.com> Date: Sun, 22 Feb 2026 08:15:45 -0500 Subject: [PATCH] Add Dockerfile for Node.js application --- .github/workflows/Dockerfile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/Dockerfile diff --git a/.github/workflows/Dockerfile b/.github/workflows/Dockerfile new file mode 100644 index 0000000..8653b92 --- /dev/null +++ b/.github/workflows/Dockerfile @@ -0,0 +1,19 @@ +FROM node:18-alpine + +WORKDIR /app + +# Copy package files +COPY package*.json ./ + +# Install dependencies +RUN npm ci --only=production + +# Copy application code +COPY . . + +# Build if needed +RUN npm run build --if-present + +EXPOSE 3000 + +CMD ["npm", "start"]