Files
flood/Dockerfile.release
Jesse Chan 967bd0a188 Dockerfile.release: a Dockerfile that uses the latest release
docker run -it -p 3000:3000 jesec/flood
2020-09-04 22:36:02 +08:00

22 lines
409 B
Docker

# Use node alpine docker image
FROM node:alpine
# Get the latest release from npm
RUN npm i -g flood --unsafe-perm
# Install runtime dependencies
RUN apk --no-cache add \
mediainfo
# Create "download" user
RUN adduser -h /home/download -s /sbin/nologin --disabled-password download
# Run as "download" user
USER download
# Expose port 3000
EXPOSE 3000
# Flood
ENTRYPOINT ["flood", "--host=0.0.0.0"]