Skip to content
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

Refactor: Update Dockerfile for Development and Production #1285

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ZODIAC3K
Copy link

  • I've checked that this isn't a new swag opportunity proposal.
  • I've checked that this isn't a duplicate pull request.

Key Changes

  • Debian Upgrade: We’ve switched the base image from Debian Buster to Debian Bullseye. This change ensures we're using a more recent version with better support and security patches.

  • System Dependencies: The installation of libvips-dev has been added to support optimized image processing, which is crucial for our application.

  • Node Version Management: NVM is now properly configured to read the Node.js version from our .nvmrc file. The use of source in the Dockerfile ensures that the NVM environment is loaded correctly, making it easier to maintain consistent Node.js versions across different environments.

  • NPM Installation: The npm installation process has been streamlined, including a cleanup step to remove cached files and free up space.

For more details about the issue, please check #1281

…etup

- Migrate from Debian Buster to Debian Bullseye for enhanced stability and security.
- Install libvips-dev for optimized image processing.
- Configure Node Version Manager (NVM) for Node.js installation from .nvmrc.
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.

1 participant