This repository has been archived on 2021-05-10. You can view files and clone it, but cannot push or open issues or pull requests.
docker-tileboard-OUTDATED/Dockerfile
Florian Brinker 1b88465f3f
All checks were successful
continuous-integration/drone Build is passing
Add Download to Dockerfile for more transparency
2021-04-22 22:27:46 +02:00

17 rader
801 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
RUN wget -q -O release.zip "%RELEASE_URL%" \
&& unzip release.zip -d /tileboard/ \
&& rm release.zip
# Start Server
WORKDIR /tileboard
EXPOSE 8000
ENTRYPOINT python3 -m http.server