Updated dockerfiles to create images for docker hub that are per-compiled

This commit is contained in:
ebolam 2022-01-26 11:35:58 -05:00
parent b0f1bdf2fd
commit d2b15e2a6e
4 changed files with 23 additions and 12 deletions

View File

@ -1,11 +1,7 @@
# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and
# installs the rocm-dev package.
FROM mambaorg/micromamba
FROM ebolam/koboldai_base
WORKDIR /content/
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
CMD python aiserver.py

View File

@ -0,0 +1,10 @@
# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and
# installs the rocm-dev package.
FROM mambaorg/micromamba
WORKDIR /content/
COPY environments /content/environments
RUN micromamba install -y -n base -f /content/environments/huggingface.yml
USER root
RUN apt update && apt install xorg -y

View File

@ -0,0 +1,9 @@
# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and
# installs the rocm-dev package.
FROM mambaorg/micromamba
WORKDIR /content/
COPY environments /content/environments
RUN micromamba install -y -n base -f /content/environments/finetuneanon.yml
USER root
RUN apt update && apt install xorg -y

View File

@ -1,11 +1,7 @@
# This dockerfile is meant to serve as a rocm base image. It registers the debian rocm package repository, and
# installs the rocm-dev package.
FROM mambaorg/micromamba
FROM ebolam/koboldai_base:finetune
WORKDIR /content/
COPY . /content/
RUN ls
RUN micromamba install -y -n base -f /content/environments/finetuneanon.yml
USER root
RUN apt update && apt install xorg -y
CMD python aiserver.py
CMD python aiserver.py