Skip to content

Commit

Permalink
Fixing prod pip installs in Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanMullins committed Oct 22, 2024
1 parent a69133e commit 7c3000c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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
8 changes: 4 additions & 4 deletions lit_nlp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3613,10 +3613,10 @@ minimatch@^5.1.0:
dependencies:
brace-expansion "^2.0.1"

mobx@5.15.4:
version "5.15.4"
resolved "https://registry.yarnpkg.com/mobx/-/mobx-5.15.4.tgz#9da1a84e97ba624622f4e55a0bf3300fb931c2ab"
integrity sha512-xRFJxSU2Im3nrGCdjSuOTFmxVDGeqOHL+TyADCGbT0k4HHqGmx5u2yaHNryvoORpI4DfbzjJ5jPmuv+d7sioFw==
mobx@6.1.8:
version "6.1.8"
resolved "https://registry.yarnpkg.com/mobx/-/mobx-6.1.8.tgz#5d03cb76d8f7694dd82bfb2578d886945b66450d"
integrity sha512-U4yCvUeh6yKXRwFxm2lyJjXPVekOEar/R8ZKWAXem/3fthJqYflViawfjDAUh7lZEvbKqljC3NT/pSaUKpE+gg==

ms@2.0.0:
version "2.0.0"
Expand Down

0 comments on commit 7c3000c

Please sign in to comment.