feat: change Dockerfile server to python one
All checks were successful
Workflow / build (push) Successful in 56s

This commit is contained in:
Ilia Mashkov
2026-02-09 10:44:51 +03:00
parent e810135fc5
commit 1bd996659e

View File

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