Fix docker staticfiles (#811)

* Fix staticfiles for docker install

* docker build instructions

* all tests python 3.9

Co-authored-by: cryptoteun <73664763+cryptoteun@users.noreply.github.com>
This commit is contained in:
calle 2022-07-30 17:09:14 +02:00 committed by GitHub
parent 19fda31afb
commit f24d593f00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 5 deletions

View file

@ -37,6 +37,10 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
WORKDIR /app
COPY --chown=1000:1000 lnbits /app/lnbits
# Staticfiles
COPY --chown=1000:1000 build.py /app
RUN python build.py
ENV LNBITS_PORT="5000"
ENV LNBITS_HOST="0.0.0.0"