Skip to content
Snippets Groups Projects
Select Git revision
  • e2d933807a2aa1f56eb60ee618075884aa57c93a
  • main default protected
2 results

_helpers.tpl

Blame
  • Dockerfile 413 B
    FROM node:alpine AS builder
    RUN apk add --no-cache git python build-base
    RUN git clone https://github.com/Flood-UI/flood/ /flood-ui
    WORKDIR /flood-ui
    RUN npm install
    RUN cp config.docker.js config.js
    RUN npm run build
    RUN npm prune --production
    
    FROM node:alpine
    RUN apk --no-cache add mediainfo
    COPY --from=builder /flood-ui /flood-ui
    
    WORKDIR /flood-ui
    EXPOSE 3000
    VOLUME ["/data"]
    
    ENTRYPOINT ["npm", "start"]