Skip to content

Commit

Permalink
Fix Dockerfile pip install requirements file name.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 708384050
  • Loading branch information
bdu91 authored and LIT team committed Dec 20, 2024
1 parent c8c26b0 commit eb562e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ COPY ./lit_nlp/examples/gunicorn_config.py ./

FROM lit-nlp-base AS lit-nlp-prod

RUN python -m pip install 'lit-nlp[examples-descai]'
RUN python -m pip install 'lit-nlp[examples-discriminative-ai]'

WORKDIR $APP_HOME
ENTRYPOINT ["gunicorn", "--config=gunicorn_config.py"]
Expand Down
4 changes: 2 additions & 2 deletions lit_nlp/examples/gcp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ COPY ./lit_nlp/examples/gcp/model_server_gunicorn_config.py ./

FROM lit-gcp-app-server-base AS lit-gcp-app-server

RUN python -m pip install 'lit-nlp[examples-genai]'
RUN python -m pip install 'lit-nlp[examples-generative-ai]'
ENTRYPOINT ["gunicorn", "--config=gunicorn_config.py"]



FROM lit-gcp-model-server-base AS lit-gcp-model-server

RUN python -m pip install 'lit-nlp[examples-genai]'
RUN python -m pip install 'lit-nlp[examples-generative-ai]'
ENTRYPOINT ["gunicorn", "--config=model_server_gunicorn_config.py"]


Expand Down

0 comments on commit eb562e8

Please sign in to comment.