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

Dockerfile

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"]