Skip to content

Commit

Permalink
add requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
StardustDL committed Mar 13, 2024
1 parent 1623608 commit af5ab23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ RUN /usr/local/bin/_dockerfile_initialize_user_accounts.sh && \
/usr/local/bin/_dockerfile_setup_root_prefix.sh

ENV PYTHONUTF8=1 RUN_IN_CONTAINER=1 AEXPY_ENV_PROVIDER=micromamba MAMBA_SKIP_ACTIVATE=1

COPY requirements.txt /tmp/requirements.txt
COPY --from=BUILD /dist /tmp/packages
RUN pip install --no-cache-dir --compile /tmp/packages/*.whl
RUN pip install --no-cache-dir --compile -r /tmp/requirements.txt && \
pip install --no-cache-dir --compile /tmp/packages/*.whl

USER $MAMBA_USER
WORKDIR /data
Expand Down
8 changes: 0 additions & 8 deletions env.yaml

This file was deleted.

3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
click==8.1.7
pydantic==2.6.4
mypy==1.9.0

0 comments on commit af5ab23

Please sign in to comment.