This repository has been archived on 2021-06-21. You can view files and clone it, but cannot push or open issues or pull requests.
fbrinker-tileboard/Dockerfile

19 sor
834 B
Docker

2019-10-19 16:00:57 +00:00
FROM python:alpine
2021-03-20 17:28:40 +00:00
LABEL maintainer="mail+docker@f-brinker.de"
2019-10-19 16:00:57 +00:00
# Install wget
RUN apk update \
&& apk add ca-certificates wget unzip \
&& update-ca-certificates
# Download TileBoard
ARG RELEASE_URL
RUN wget -q -O release.zip "${RELEASE_URL:-%RELEASE_URL%}" \
&& unzip release.zip -d /tileboard/ \
&& rm release.zip
2019-10-19 16:00:57 +00:00
# Start Server
WORKDIR /tileboard
EXPOSE 8000
ENTRYPOINT python3 -m http.server