Skip to content

Commit

Permalink
fix(git): install git
Browse files Browse the repository at this point in the history
  • Loading branch information
BobAnkh committed Jul 29, 2020
1 parent 97dd067 commit b326c02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
FROM python:3.7.8-slim

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y git

COPY main.py entrypoint.sh requirements.txt /

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
sudo apt install -y git

python -m pip install --upgrade pip setuptools wheel
pip install -r /requirements.txt

Expand Down

0 comments on commit b326c02

Please sign in to comment.