fix dockerfile

This commit is contained in:
dni ⚡ 2024-04-01 15:24:07 +02:00
parent ce463f2f54
commit 2adbeea785
No known key found for this signature in database
GPG Key ID: D1F416F29AD26E87
2 changed files with 2 additions and 7 deletions

View File

@ -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

View File

@ -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"