statping/Dockerfile

25 lines
685 B
Docker
Raw Normal View History

2018-08-16 06:22:20 +00:00
FROM alpine:latest
2018-08-18 02:19:56 +00:00
MAINTAINER "Hunter Long (https://github.com/hunterlong)"
2018-08-16 06:22:20 +00:00
# Locked version of Statup for 'latest' Docker tag
2018-08-17 04:39:25 +00:00
ENV VERSION=v0.45
2018-08-16 06:22:20 +00:00
RUN apk --no-cache add libstdc++ ca-certificates
RUN wget -q https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-alpine.tar.gz && \
tar -xvzf statup-linux-alpine.tar.gz && \
chmod +x statup && \
mv statup /usr/local/bin/statup
# sass Binary built for alpine linux
RUN wget -q https://assets.statup.io/sass && \
chmod +x sass && \
mv sass /usr/local/bin/sass
ENV IS_DOCKER=true
ENV SASS=/usr/local/bin/sass
ENV STATUP_DIR=/app
WORKDIR /app
VOLUME /app
EXPOSE 8080
ENTRYPOINT statup