Mercurial > code > home > repos > reposync
diff Dockerfile @ 21:cb71722bb75c
use pipenv
author | drewp@bigasterisk.com |
---|---|
date | Tue, 29 Mar 2022 21:13:48 -0700 |
parents | 6f38aa08408d |
children | b9fe6d26b3fa |
line wrap: on
line diff
--- a/Dockerfile Sun Jan 09 20:47:57 2022 -0800 +++ b/Dockerfile Tue Mar 29 21:13:48 2022 -0700 @@ -9,11 +9,11 @@ RUN npm install -g pnpm RUN pnpm set registry "https://bigasterisk.com/js/" -COPY requirements.txt ./ -RUN python3 -m pip install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt -RUN python3 -m pip install -U 'https://github.com/drewp/cyclone/archive/python3.zip?v3' -RUN python3 -m pip install -U cffi -RUN python3 -m pip install 'https://foss.heptapod.net/mercurial/hg-git/-/archive/branch/default/hg-git-branch-default.zip' +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 .