diff --git a/.dockerignore b/.dockerignore index 8116b73..a6766a5 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,28 +1,5 @@ -# Logs -logs - -# Tests -tests - -# Examples -examples - -# Docs -docs - -# Certs -certs - -.coverage - # Markdown *.md # Other -*.yml - -# Github -.github - -# Python virtual environment -venv \ No newline at end of file +*.yml \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5e9a542..912db45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,8 +27,10 @@ COPY requirements.txt /requirements.txt # install required python packages RUN pip3 install -r requirements.txt -COPY . /bumper - WORKDIR /bumper +# Copy only required folders instead of all +COPY create_certs/ create_certs/ +COPY bumper/ bumper/ + ENTRYPOINT ["python3", "-m", "bumper"]