Skip to content

Commit f95d9c7

Browse files
committed
ci: update dockerfile
1 parent 5576db7 commit f95d9c7

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM node:22-alpine AS builder
2+
FROM node:22-alpine
33

44
WORKDIR /app
55

@@ -16,14 +16,6 @@ COPY tsconfig.json ./
1616
# Build the application
1717
RUN npm run build
1818

19-
# Production stage
20-
FROM node:22-alpine
21-
22-
WORKDIR /app
23-
24-
# Copy built application
25-
COPY --from=builder /app/dist ./dist
26-
2719
# Expose port
2820
EXPOSE 3000
2921

@@ -34,3 +26,5 @@ ENV HOST=0.0.0.0
3426

3527
# Start the application
3628
CMD ["node", "dist/index.js"]
29+
30+

0 commit comments

Comments
 (0)