deiucanta / chatpad

Not just another ChatGPT user-interface!
https://chatpad.ai
GNU Affero General Public License v3.0
1.36k stars 253 forks source link

feat: dockerize (#3) #5

Closed ItzDerock closed 1 year ago

ItzDerock commented 1 year ago

Closes #3

Builds the react app using node.js 18, then copies it over to a NGINX image that will serve the static files on port 80 by default, but can be changed using the PORT environment variable.

I can also add github workflows to autobuild and push the container if you want. Just let me know if you want to use dockerhub registry or the free github container registry.

deiucanta commented 1 year ago

@ItzDerock This is amazing! I'll merge it like this but feel free to open a new one with the Github workflow.

I'd go with the free Github container registry considering the latest changes from Docker Hub.