Merge pull request #29 from rockerbacon/fix-docker-user

Allow running docker container with any user
This commit is contained in:
Simon 2024-04-20 00:53:12 +07:00 committed by GitHub
commit 3e0e13e18e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ ENV PATH=/root/.local/bin:$PATH
RUN if [ "$INSTALL_DEBUG" ] ; then \
apt-get -y update && apt-get -y install --no-install-recommends \
vim htop bmon net-tools iputils-ping procps curl \
&& pip install --user ipython \
&& pip install ipython \
; fi
# install requirements
COPY ./requirements.txt /requirements.txt
RUN pip install --user -r requirements.txt
RUN pip install -r requirements.txt
COPY app /app
WORKDIR app