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

feat: add Dockerfile and update related configurations #401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chao-eng1
Copy link

  • Added a Dockerfile for containerized deployment

  • Updated configuration files to accommodate the new Docker environment

Features

  • Feature 1
  • Feature 2

Feature Docs

Influence

Result

Other

- Added a Dockerfile for containerized deployment

- Updated configuration files to accommodate the new Docker environment

WORKDIR /app

COPY . .
Copy link

Choose a reason for hiding this comment

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

What if we

COPY requirements.txt .

RUN pip install --no-cache-dir --no-compile -r requirements.txt \
    && pip install --no-cache-dir --no-compile fastapi uvicorn jinja2

then

COPY . . 

to improve layer caching

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