Skip to content

Commit

Permalink
Dockerfile requires apt update before git install (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobfnl authored Aug 25, 2021
1 parent 961b410 commit 43e4ed8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Have tested with a custom Ubuntu-1804 / Python 3.7 / Tensorflow 2.5.0 Base Image
# Not tested with this image.
FROM tensorflow/tensorflow:latest
RUN apt-get install git -y
FROM tensorflow/tensorflow:2.5.0
RUN apt update && \
apt-get install git -y

WORKDIR /app/
COPY . /app/
Expand All @@ -16,4 +17,4 @@ ENV PATH $PYTHONPATH:$PATH
ENV TOKENIZERS_PARALLELISM=true
EXPOSE 80

CMD ["/start.sh"]
CMD ["/start.sh"]

0 comments on commit 43e4ed8

Please sign in to comment.