Skip to content

Commit

Permalink
Add requirements to Dockerfile (#168)
Browse files Browse the repository at this point in the history
Signed-off-by: lneumarkt <[email protected]>
  • Loading branch information
lneumarkt authored Oct 11, 2023
1 parent 57b37b5 commit 024b694
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ ENV TERM linux
ENV DEBIAN_FRONTEND noninteractive
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections

# Copy requirement files and install dependencies
COPY docker/requirements.txt .
RUN apt-get update && apt-get install --no-install-recommends -y $(cat requirements.txt)
RUN rm requirements.txt

# Create a user with passwordless sudo
RUN adduser --uid $USERID --gecos "ekumen developer" --disabled-password $USER
RUN adduser $USER sudo
Expand Down

0 comments on commit 024b694

Please sign in to comment.