We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5576db7 commit f95d9c7Copy full SHA for f95d9c7
Dockerfile
@@ -1,5 +1,5 @@
1
# Build stage
2
-FROM node:22-alpine AS builder
+FROM node:22-alpine
3
4
WORKDIR /app
5
@@ -16,14 +16,6 @@ COPY tsconfig.json ./
16
# Build the application
17
RUN npm run build
18
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
27
# Expose port
28
EXPOSE 3000
29
@@ -34,3 +26,5 @@ ENV HOST=0.0.0.0
34
35
# Start the application
36
CMD ["node", "dist/index.js"]
+
30
0 commit comments