diff --git a/.dockerignore b/.dockerignore index 4cdac6132..639659509 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,10 +5,6 @@ docs tests node_modules -lnbits/static/css/* -lnbits/static/bundle.js -lnbits/static/bundle.css - *.md !README.md *.log @@ -18,8 +14,5 @@ lnbits/static/bundle.css .gitignore .prettierrc LICENSE -Makefile mypy.ini -package-lock.json -package.json pytest.ini diff --git a/Dockerfile b/Dockerfile index 7597c5b09..7d827976a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,12 +41,14 @@ ENV POETRY_NO_INTERACTION=1 \ VIRTUAL_ENV=/app/.venv \ PATH="/app/.venv/bin:$PATH" +COPY . /app WORKDIR /app COPY . . COPY --from=builder /app/.venv .venv RUN make +RUN mkdir data ENV LNBITS_PORT="5000" ENV LNBITS_HOST="0.0.0.0"