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

Switch Docker 🐳 to non-root #7

Merged
merged 4 commits into from
Jan 3, 2024
Merged

Switch Docker 🐳 to non-root #7

merged 4 commits into from
Jan 3, 2024

Conversation

H0llyW00dzZ
Copy link
Owner

No description provided.

- [+] chore(session.go): add newline after user's input
- [+] chore(Dockerfile): optimize Dockerfile by combining COPY commands for go.mod and go.sum files
- [+] feat(Dockerfile): create non-root user and switch to it for improved security
- [+] feat(Dockerfile): set working directory to user's home directory
- [+] feat(Dockerfile): copy pre-built binary file from previous stage to /usr/local/bin/
- [+] feat(Dockerfile): update ENTRYPOINT to use the correct binary name
- [+] docs(README.md): add installation instructions for Docker
- [+] docs(README.md): add usage instructions for starting a chat session with GoGenAI
- [+] docs(README.md): add environment variables section to explain API_KEY usage
@H0llyW00dzZ H0llyW00dzZ added documentation Improvements or additions to documentation enhancement New feature or request labels Jan 3, 2024
- [+] fix(Dockerfile): fix COPY command to copy the contents of /app/cmd/ directory instead of the directory itself
@H0llyW00dzZ H0llyW00dzZ marked this pull request as ready for review January 3, 2024 00:14
@H0llyW00dzZ H0llyW00dzZ merged commit d05b240 into master Jan 3, 2024
2 checks passed
@H0llyW00dzZ H0llyW00dzZ deleted the terminal branch January 3, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant