view Dockerfile @ 22:b9fe6d26b3fa

minor changes, fixes, upgrades
author drewp@bigasterisk.com
date Tue, 29 Mar 2022 21:15:51 -0700
parents cb71722bb75c
children 03803832a087
line wrap: on
line source

FROM bang5:5000/base_basic

WORKDIR /opt

RUN apt-get install -y python3 libpython3-dev python3-openssl python3-cffi-backend
RUN python3 -m pip install mercurial

RUN npm install -g npm@8.3.0 
RUN npm install -g pnpm
RUN pnpm set registry "https://bigasterisk.com/js/"

RUN apt-get install --yes pipenv

COPY Pipfile Pipfile.lock ./
RUN pipenv install

RUN groupadd --gid 1000 drewp && useradd --uid 501 --gid 1000 drewp

COPY package.json .
RUN pnpm install

COPY root-hgrc /root/.hgrc
COPY dot-ssh/ /root/.ssh/
COPY config.yaml package.json pnpm-lock.yaml tsconfig.json vite.config.ts repo*.py patch_cyclone_sse.py index.html ./
COPY view/ ./view/
#USER drewp

CMD ["python3", "repo_local_status.py", "-v"]