From 2adbeea7855250aba21e2bae2bde21084529a4cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Mon, 1 Apr 2024 15:24:07 +0200 Subject: [PATCH] fix dockerfile --- .dockerignore | 7 ------- Dockerfile | 2 ++ 2 files changed, 2 insertions(+), 7 deletions(-) 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"