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 FROM base
COPY . /bumper COPY requirements.txt /requirements.txt
WORKDIR /bumper
# install required python packages # install required python packages
RUN pip3 install -r requirements.txt 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"] ENTRYPOINT ["python3", "-m", "bumper"]