Set the dockerfile to save the code in the image

set the transformer version to huggingface
added the default run command
This commit is contained in:
ebolam 2022-01-22 14:48:32 -05:00
parent 12e7b6d10b
commit 54d99490a9
1 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,9 @@
FROM mambaorg/micromamba
WORKDIR /content/
COPY env.yml /home/micromamba/env.yml
RUN micromamba install -y -n base -f /home/micromamba/env.yml
COPY . /content/
RUN ls
RUN micromamba install -y -n base -f /content/environments/huggingface.yml
USER root
RUN apt update && apt install xorg -y
CMD python aiserver.py