dockerfile: add DBPATH
This commit is contained in:
parent
5a857da5d4
commit
ee4ba47831
1 changed files with 1 additions and 0 deletions
|
@ -5,4 +5,5 @@ RUN pip3 install -Ur ./e621_api_cloner/requirements.txt
|
||||||
RUN touch ./e621_api_cloner/e621.db
|
RUN touch ./e621_api_cloner/e621.db
|
||||||
EXPOSE 1337
|
EXPOSE 1337
|
||||||
WORKDIR /e621_api_cloner
|
WORKDIR /e621_api_cloner
|
||||||
|
ENV DBPATH=./e621.db
|
||||||
CMD ["hypercorn", "--access-log", "-", "-b", "0.0.0.0:1337", "e621_api_cloner:app"]
|
CMD ["hypercorn", "--access-log", "-", "-b", "0.0.0.0:1337", "e621_api_cloner:app"]
|
||||||
|
|
Loading…
Reference in a new issue