Add Dockerfile for application setup

This commit is contained in:
gamvo74 2026-02-22 08:05:14 -05:00
parent 427e7b12e3
commit 61b7791fa3

19
Dockerfile Normal file
View File

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