From 1bd996659e4faf5af1cf95b5c47e3237eb7a6177 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Mon, 9 Feb 2026 10:44:51 +0300 Subject: [PATCH] feat: change Dockerfile server to python one --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e3d1333..de7dfd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,10 +15,16 @@ COPY . . # Build the app RUN yarn build -# Production stage - just the built files -FROM alpine:latest +# Production stage - tiny Python server +FROM python:3.11-alpine WORKDIR /app # Copy built static files COPY --from=builder /app/dist ./dist + +# Expose port +EXPOSE 3000 + +# Start the server +CMD ["python", "-m", "http.server", "3000", "--directory", "dist"]