Skip to content

add Dockerfile#400

Open
Strubbl wants to merge 1 commit intostefanw:mainfrom
Strubbl:add-dockerfile
Open

add Dockerfile#400
Strubbl wants to merge 1 commit intostefanw:mainfrom
Strubbl:add-dockerfile

Conversation

@Strubbl
Copy link
Copy Markdown

@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
Copy Markdown
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