Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ RUN apk add --no-cache --virtual .build-deps \
# Final stage
FROM dunglas/frankenphp:1.9.0-php8.4.10-alpine

# Overwrite some labels from FrankenPHP
LABEL org.opencontainers.image.title="Upvote RSS"
LABEL org.opencontainers.image.description="Generate rich RSS feeds from Reddit, Hacker News, Lemmy, Mbin, and more"
LABEL org.opencontainers.image.url="https://www.upvote-rss.com/"
LABEL org.opencontainers.image.source="https://github.com/johnwarne/upvote-rss"
LABEL org.opencontainers.image.licenses="MIT"

# Install su-exec and opcache
RUN apk add --no-cache su-exec && \
install-php-extensions gd opcache apcu
Expand All @@ -36,4 +43,4 @@ HEALTHCHECK --interval=30s --timeout=20s --start-period=5s --retries=3 \
ENTRYPOINT ["/entrypoint.sh"]

# Run the PHP server
CMD ["frankenphp", "php-server", "-r", "/app"]
CMD ["frankenphp", "php-server", "-r", "/app"]