Skip to content

Add standard repo configuration and community files - #1

Merged
Devanik21 merged 4 commits into
mainfrom
add-repo-standards-2486335811855377259
Apr 14, 2026
Merged

Add standard repo configuration and community files#1
Devanik21 merged 4 commits into
mainfrom
add-repo-standards-2486335811855377259

Conversation

@Devanik21

Copy link
Copy Markdown
Owner

This commit adds several files to make the repository more complete and professional.

  • Added SECURITY.md for vulnerability reporting guidelines.
  • Added CONTRIBUTING.md and CODE_OF_CONDUCT.md for community guidelines.
  • Added .gitignore for Python and standard project environments.
  • Added Dockerfile and .dockerignore for containerization.
  • Added GitHub Actions workflow (.github/workflows/ci.yml) for basic CI checks.
  • Added GitHub Issue and Pull Request templates (.github/ISSUE_TEMPLATE/, .github/PULL_REQUEST_TEMPLATE.md).
  • Added an empty packages.txt file as requested by the original SETUP_GUIDE.txt.
    No original files were modified or deleted.

PR created automatically by Jules for task 2486335811855377259 started by @Devanik21

…ines, and docker support

Co-authored-by: Devanik21 <162272415+Devanik21@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces essential project infrastructure, including Docker configuration, GitHub templates for issues and pull requests, and documentation for contributions, security, and conduct. The review identifies several improvement opportunities: resolving a branch naming inconsistency between the security policy and contribution guide, updating the security policy to favor private reporting over public issues, and enhancing the Dockerfile security by implementing a non-root user.

Comment thread SECURITY.md
Comment thread SECURITY.md
Comment thread Dockerfile
Comment on lines +1 to +13
FROM python:3.9-slim

WORKDIR /app

COPY requirements.txt .

RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 8501

CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

security-medium medium

Running the container as the root user is a security risk. It is recommended to create a non-privileged user and use the USER instruction to switch to it.

FROM python:3.9-slim

RUN useradd -m appuser
WORKDIR /app

COPY --chown=appuser:appuser requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY --chown=appuser:appuser . .

USER appuser
EXPOSE 8501

CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0"]

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FROM python:3.9-slim

RUN useradd -m appuser
WORKDIR /app

COPY --chown=appuser:appuser requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY --chown=appuser:appuser . .

USER appuser
EXPOSE 8501

CMD ["streamlit", "run", "app.py", "--server.address=0.0.0.0"]

plz apply these changes jules

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied the changes to create and use a non-root user (appuser) for better security in the Docker image, as requested.

Devanik21 and others added 3 commits April 14, 2026 12:49
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Devanik21 <162272415+Devanik21@users.noreply.github.com>
@Devanik21
Devanik21 merged commit 1e774ce into main Apr 14, 2026
1 check passed
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.

1 participant