10 lines
302 B
Plaintext
10 lines
302 B
Plaintext
FROM coleifer/sqlite
|
|
RUN apk add --no-cache --virtual .build-reqs build-base gcc make \
|
|
&& pip install --no-cache-dir cython \
|
|
&& pip install --no-cache-dir flask peewee sqlite-web \
|
|
&& apk del .build-reqs
|
|
EXPOSE 8080
|
|
VOLUME /db
|
|
WORKDIR /db
|
|
CMD sqlite_web -H 0.0.0.0 -x $SQLITE_DATABASE -P
|