Skip to content

Commit 9c2db24

Browse files
committed
testing
1 parent 629d0a7 commit 9c2db24

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

Dockerfile

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,14 @@ COPY . .
1919
# Build the application
2020
RUN bun run build
2121

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-
3422
# Bind to all interfaces
3523
ENV HOST=0.0.0.0
3624

3725
# Port to listen on
38-
ENV PORT=4321
26+
ENV PORT=3000
3927

4028
# Expose the port the app runs on
41-
EXPOSE 4321
29+
EXPOSE 3000
4230

4331
# Start the application
44-
CMD ["bun", "run", "preview"]
32+
CMD node ./dist/server/entry.mjs

0 commit comments

Comments
 (0)