Skip to content

Commit 036e92f

Browse files
committed
feat: Add Dockerfile for containerizing the application
1 parent 68b0a8d commit 036e92f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Dockerfile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FROM node:lts-alpine AS runtime
2+
3+
WORKDIR /app
4+
5+
# Install dependencies
6+
COPY package.json package-lock.json ./
7+
RUN npm ci
8+
9+
# Copy source
10+
COPY . .
11+
12+
EXPOSE 8080
13+
14+
CMD ["node", "index.js"]

0 commit comments

Comments
 (0)