improve docker images creation as requirements are change less often

This commit is contained in:
Robert Resch 2021-04-19 20:49:39 +02:00
parent dc49e960db
commit f050213113
No known key found for this signature in database
GPG key ID: 6B360759EB2ACAEE

View file

@ -22,11 +22,13 @@ RUN apk add build-base
FROM base
COPY . /bumper
WORKDIR /bumper
COPY requirements.txt /requirements.txt
# install required python packages
RUN pip3 install -r requirements.txt
COPY . /bumper
WORKDIR /bumper
ENTRYPOINT ["python3", "-m", "bumper"]