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"]