Skip to content

Commit

Permalink
update Dockerfile (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Lee committed Sep 8, 2023
1 parent 284cae9 commit 0edece9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ COPY . /app/twigram/
# Install git, clean apt cache and install python dependencies
RUN <<EOF
apt-get update
apt-get upgrade -y
apt-get install -y git
pip install --no-cache-dir -r requirements.txt
apt-get remove -y git
apt-get purge -y git
apt-get autoremove -y
apt-get clean all
rm -rf /var/lib/apt/lists/*
find / -type f -name '*.py[co]' -delete -o -type d -name __pycache__ -delete
EOF

ENV DEBUG ""
Expand Down

0 comments on commit 0edece9

Please sign in to comment.