From 54d99490a90372b8be907a1b99de92c4275773d3 Mon Sep 17 00:00:00 2001 From: ebolam Date: Sat, 22 Jan 2022 14:48:32 -0500 Subject: [PATCH] Set the dockerfile to save the code in the image set the transformer version to huggingface added the default run command --- docker-cuda/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-cuda/Dockerfile b/docker-cuda/Dockerfile index 7a3f1922..e863ea58 100644 --- a/docker-cuda/Dockerfile +++ b/docker-cuda/Dockerfile @@ -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 \ No newline at end of file