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
dev-docker f46f79bd4e feat(RELEASE): allow overriding build.sh
* add `ARG` for `RELEASE_URL`
* make `build.sh` prepare `.tags` even if tag exists
* add outputs to be used by github workflows
2021-05-20 20:19:36 +00:00

19 baris
834 B
Docker

FROM python:alpine
LABEL maintainer="mail+docker@f-brinker.de"
# 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
# Start Server
WORKDIR /tileboard
EXPOSE 8000
ENTRYPOINT python3 -m http.server