platypush/examples/docker/Dockerfile

39 lines
751 B
Text
Raw Normal View History

2023-08-17 03:04:34 +02:00
FROM alpine
ADD . /install
2019-12-01 22:27:54 +01:00
2023-08-17 03:04:34 +02:00
RUN apk add --update --no-interactive --no-cache \
python3 \
py3-pip \
py3-alembic \
py3-bcrypt \
py3-dateutil \
py3-docutils \
py3-flask \
py3-frozendict \
py3-greenlet \
py3-magic \
py3-mypy-extensions \
py3-psutil \
py3-redis \
py3-requests \
py3-rsa \
py3-sqlalchemy \
py3-tornado \
py3-typing-extensions \
py3-tz \
py3-websocket-client \
py3-websockets \
py3-wheel \
py3-yaml \
py3-zeroconf \
redis
2019-12-01 22:27:54 +01:00
2023-08-17 03:04:34 +02:00
RUN cd /install && pip install --no-cache-dir .
RUN cd / && rm -rf /install
2019-12-01 22:27:54 +01:00
2023-07-24 10:37:51 +02:00
EXPOSE 8008
VOLUME /app/config
VOLUME /app/workdir
2023-08-17 03:04:34 +02:00
CMD platypush --start-redis --config-file /app/config/config.yaml --workdir /app/workdir