first commit
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
# Use official Node.js LTS base image
|
||||
FROM node:20-slim
|
||||
|
||||
# Create app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install dependencies
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev
|
||||
|
||||
# Copy app source
|
||||
COPY . .
|
||||
|
||||
# Expose app port (change if needed)
|
||||
# EXPOSE 3000
|
||||
|
||||
# Start app
|
||||
CMD ["node", "index.js"]
|
Reference in New Issue
Block a user