Sign inSign up

maldex/frontail

By maldex

•Updated about 6 years ago

NPM Frontail as an Alpine Container

Image
0

185

maldex/frontail repository overview

# Build: cat Dockerfile.Frontail | docker build -t maldex/frontail:latest . -f -
# Run: docker run -it --rm --volume /var/log:/logs --publish 7411:9001 maldex/frontail:latest 

# which image to start from 
FROM    alpine:latest

# install procedures
RUN     apk upgrade && apk add npm
RUN     npm install frontail -g

# add documentation
COPY    Dockerfile.Frontail /

# assume exposed ports
EXPOSE  9001:9001

# assume persistent storage
VOLUME  /logs

# current working directory
WORKDIR /logs
 
# start frontail
CMD     [ "/bin/sh", "-c", "/usr/bin/frontail --port 9001 --lines 9999999 --ui-highlight -t dark `find . -type f -o -type l`" ]

Tag summary

Content type

Image

Digest

Size

26.1 MB

Last updated

about 6 years ago

docker pull maldex/frontail