homeapi (latest)

Published 2023-10-29 11:18:59 +01:00 by elfrinjo in elfrinjo/homeapi

Installation

docker pull code.elfring.ms/elfrinjo/homeapi:latest
sha256:3df53b1e5ec2566e7e20d411137418570f42c199300372951980df8b9c568d8f

Image Layers

ADD file:756183bba9c7f4593c2b216e98e4208b9163c4c962ea0837ef88bd917609d001 in /
CMD ["/bin/sh"]
LABEL maintainer=J. Elfring <code@elfring.ms>
RUN /bin/sh -c apk add --update --no-cache ca-certificates python3 py3-pip && mkdir -p /server/instance && chown -R daemon:daemon /server # buildkit
ADD ./app /server/app # buildkit
ADD ./requirements.txt /server/requirements.txt # buildkit
RUN /bin/sh -c pip install -r /server/requirements.txt # buildkit
USER daemon
ENV FLASK_SQLALCHEMY_DATABASE_URI=sqlite:///db.sqlite3
WORKDIR /server
VOLUME [/server/instance]
EXPOSE map[5000/tcp:{}]
CMD ["/bin/sh" "-c" "flask run --host 0.0.0.0 --port 5000"]

Labels

Key Value
com.docker.compose.project homeapi
com.docker.compose.service homeapi
com.docker.compose.version 2.22.0
maintainer J. Elfring <code@elfring.ms>
Details
Container
2023-10-29 11:18:59 +01:00
3
OCI / Docker
linux/amd64
56 MiB
Versions (1) View all
latest 2023-10-29