diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..eba74f4 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +venv/ \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3db16cb --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +venv/ +exports/ \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index dc64d95..eaca213 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,12 @@ FROM python:3.10-slim-bullseye -WORKDIR /bitwarden-to-keepass -COPY . . - RUN apt update && apt install -y npm && \ - pip install -r requirements.txt && \ npm i -g @bitwarden/cli && \ apt purge -y npm + +WORKDIR /bitwarden-to-keepass + +COPY requirements.txt requirements.txt +RUN pip install -r requirements.txt + +COPY . . \ No newline at end of file