Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:20-alpine

WORKDIR /app

# Copy only necessary files first (for better cache)
COPY package*.json ./

# Install all dependencies (including dev, since you’re building here)
RUN npm install

# Copy the rest of the app
COPY . .


EXPOSE 3000

CMD ["npm", "start"]
Loading