We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 629d0a7 commit 9c2db24Copy full SHA for 9c2db24
Dockerfile
@@ -19,26 +19,14 @@ COPY . .
19
# Build the application
20
RUN bun run build
21
22
-# Stage 2: Create a minimal runtime image
23
-FROM oven/bun:1.1.44-alpine
24
-
25
-# Install necessary runtime dependencies
26
-RUN apk add --no-cache nodejs
27
28
-# Set the working directory
29
-WORKDIR /app
30
31
-# Copy the built application from the builder stage
32
-COPY --from=builder /app/dist ./dist
33
34
# Bind to all interfaces
35
ENV HOST=0.0.0.0
36
37
# Port to listen on
38
-ENV PORT=4321
+ENV PORT=3000
39
40
# Expose the port the app runs on
41
-EXPOSE 4321
+EXPOSE 3000
42
43
# Start the application
44
-CMD ["bun", "run", "preview"]
+CMD node ./dist/server/entry.mjs
0 commit comments