update Dockerfile

This commit is contained in:
Robert Resch 2021-06-02 12:07:39 +02:00
parent e7d1819857
commit 5583b4a99b
No known key found for this signature in database
GPG key ID: 6B360759EB2ACAEE

View file

@ -22,11 +22,15 @@ 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
WORKDIR /bumper
# Copy only required folders instead of all
COPY create_certs/ create_certs/
COPY bumper/ bumper/
ENTRYPOINT ["python3", "-m", "bumper"]