yGuy / chatgpt-mattermost-bot

A very simple implementation of a service for a mattermost bot that uses ChatGPT in the backend.
MIT License
150 stars 48 forks source link

Add chown to COPY command in Dockerfile #10

Closed teger closed 1 year ago

teger commented 1 year ago

In Dockerfile, i add a chown command to copy these files with the node user and group !

yGuy commented 1 year ago

What's the point of this change? Can you explain?

Being able to change the container contents at runtime? For debugging, you should be using a different image or no image at all.