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

add Dockerfile #400

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add Dockerfile #400

wants to merge 1 commit into from

Conversation

Strubbl
Copy link

@Strubbl Strubbl commented Dec 19, 2023

This adds a Dockerfile. I used it to make sure the addon works when using node.js 16. I used it via the commands:

sudo docker build -t $USER_bibbot .
sudo docker run -it --user 1000:1000 -v ./dist:/home/node/dist $USER_bibbot

@darkdragon-001
Copy link
Contributor

Minor suggestion for the Docker command:

sudo docker build -t $USER_bibbot .
sudo docker run -it --rm --user $(id -u):$(id -g) -v ./dist:/home/node/dist $USER_bibbot

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