Skip to content

Adding Dockerfile support #49

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Adding Dockerfile support #49

merged 1 commit into from
Jun 13, 2025

Conversation

RustyBower
Copy link
Contributor

No description provided.

@ValwareIRC
Copy link
Member

Thanks for the PR, but I'm not too knowledgable about Docker, so I should probably ask you.
Does this Dockerfile support only nginx and webpanel installations which are only in /var/www/html?

@RustyBower
Copy link
Contributor Author

It does it all for you, so a user will just need to point 80/443 at the container to get this up and running. But yes, this builds/installs the app and runs it via nginx.

@ValwareIRC ValwareIRC requested a review from Copilot June 13, 2025 10:29
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Dockerfile support to build the application using a multi-stage build process.

  • Introduces a builder stage based on composer/composer to install dependencies.
  • Implements a final image based on trafex/php-nginx, adding php83-sodium via apk and copying application files.


WORKDIR /app

COPY . .
Copy link
Preview

Copilot AI Jun 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider using a .dockerignore file and more specific COPY instructions to ensure that only necessary files are included in the build context.

Copilot uses AI. Check for mistakes.

@ValwareIRC ValwareIRC merged commit 23112d4 into unrealircd:main Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants