feat: add Dockerfile for application containerization

This commit is contained in:
2026-02-21 23:46:11 +01:00
parent ec33458521
commit 78dcbec742

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
# Build stage
FROM node:20-alpine
# Set working directory
WORKDIR /app
# Copy package files
COPY package.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Expose port
EXPOSE 3000
# Start the application
CMD ["node", "server.js"]