From 55af06c5730536589e72cc6f79a634b5c97e81e7 Mon Sep 17 00:00:00 2001 From: Arif Hasanic Date: Fri, 29 Aug 2025 14:34:59 +0200 Subject: [PATCH] revert dockerfile --- Dockerfile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index d0a0e46..aef4c41 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,11 @@ -# Use the official Nginx image as the base -FROM nginx:alpine +# use bun to serve -# Remove default nginx website -RUN rm -rf /usr/share/nginx/html/* +FROM oven/bun:latest -# Copy build output from dist folder to nginx html directory -COPY build/ /usr/share/nginx/html/ +WORKDIR /app -# Copy custom nginx config -COPY nginx.conf /etc/nginx/nginx.conf +COPY . . -# Expose port 80 -EXPOSE 80 +RUN bun install -# Start nginx -CMD ["nginx", "-g", "daemon off;"] +CMD ["bun", "run", "dev"]