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

Dockerfile: Use Alpine base images, optimize process #841

Merged
merged 1 commit into from
Apr 23, 2022

Conversation

ix5
Copy link
Member

@ix5 ix5 commented Apr 23, 2022

The current Dockerfile uses an outdated version of Debian which ships versions of node and npm that incompatible with some of the packages Isso requires.

Issues reported in #836

Fix this by using newer base images which ship the required node/npm versions. As a side benefit, Alpine Linux images are smaller, thus resulting in faster build times (less time required to pull) and a smaller generated docker image for Isso.

@ix5 ix5 added server (Python) server code bug labels Apr 23, 2022
@ix5 ix5 added this to the 0.13 milestone Apr 23, 2022
@ix5
Copy link
Member Author

ix5 commented Apr 23, 2022

You can verify this change using docker build -t isso . and then running it with e.g.:

docker run -d --rm --name isso -p 8080:8080 -v $PWD/config:/config -v $PWD/db:/db isso:latest

@ix5 ix5 merged commit 46f1bc8 into isso-comments:master Apr 23, 2022
@ix5 ix5 deleted the docker-alpine branch April 23, 2022 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug server (Python) server code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant