该仓库已于 2021-06-21 归档。您可以查看文件或克隆它,但不能推送、创建工单或合并请求。
fbrinker-tileboard/Dockerfile

19 行
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