hugobot/Dockerfile-sqliteweb
Chakib Benziane a948d4bf69 initial
2019-04-10 15:15:33 +02:00

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