docker-compose and actions
All checks were successful
Build and Push Docker Image / build (push) Successful in 26s

This commit is contained in:
2025-12-08 11:58:38 -06:00
parent c2cee5c708
commit fab9318d84
3 changed files with 43 additions and 7 deletions

View File

@@ -9,12 +9,10 @@ WORKDIR /app
COPY resume.json .
# Install theme and generate HTML using its built-in CLI
RUN npx jsonresume-theme-even < resume.json > resume.html
RUN mkdir -p www && npx jsonresume-theme-even < resume.json > www/index.html
# Final minimal image with just the HTML
FROM alpine:latest
WORKDIR /output
COPY --from=builder /app/resume.html .
# Serve with nginx
FROM nginx:alpine
COPY --from=builder /app/www /usr/share/nginx/html
# Default command outputs HTML to stdout
CMD ["cat", "resume.html"]
EXPOSE 80