15 lines
384 B
Docker
15 lines
384 B
Docker
FROM alpine:latest
|
|
|
|
ENV VERSION=v0.241
|
|
|
|
RUN apk --no-cache add ca-certificates
|
|
RUN wget https://github.com/hunterlong/statup/releases/download/$VERSION/statup-linux-alpine.tar.gz && \
|
|
tar -xvzf statup-linux-alpine.tar.gz && \
|
|
ls && \
|
|
chmod +x statup && \
|
|
mv statup /usr/local/bin/statup
|
|
WORKDIR /app
|
|
VOLUME /app
|
|
RUN statup version
|
|
EXPOSE 8080
|
|
ENTRYPOINT statup |