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 afb1050
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 12 deletions.
11 changes: 8 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@ updates:
- package-ecosystem: pip
directory: "/"
schedule:
interval: daily
interval: weekly
open-pull-requests-limit: 3
- package-ecosystem: npm
directory: "/src/web"
schedule:
interval: daily
interval: weekly
open-pull-requests-limit: 3
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
open-pull-requests-limit: 3
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
open-pull-requests-limit: 3
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 afb1050

Please sign in to comment.