Skip to content

Commit

Permalink
add support for plumber apis
Browse files Browse the repository at this point in the history
  • Loading branch information
javierluraschi committed Dec 9, 2024
1 parent 0f4f279 commit 63a0ee1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
with:
context: .
push: true
tags: hal9ai/hal9-docker:latest,hal9ai/hal9-docker:0.2.18
tags: hal9ai/hal9-docker:latest,hal9ai/hal9-docker:0.2.19
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,19 @@ RUN curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor
&& ACCEPT_EULA=Y apt-get install -y msodbcsql18

RUN apt-get update && \
apt-get install -y exiftool && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
apt-get install -y exiftool && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

RUN apt-get update \
&& apt-get install -y tdsodbc unixodbc-dev \
&& apt install unixodbc -y \
&& apt-get clean -y

RUN apt-get install -y r-base r-base-dev
RUN Rscript -e 'install.packages(c("tidyverse", "torch", "torchvision", "filelock", "pins", "plumber"))'
RUN Rscript -e 'torch::install_torch()'

RUN mkdir /hal9
COPY requirements.txt /hal9

Expand Down

0 comments on commit 63a0ee1

Please sign in to comment.