Skip to content
Snippets Groups Projects
Dockerfile 426 B
Newer Older
# Stage 1: Jbrowse config file generated
FROM quay.io/biocontainers/jbrowse2:2.10.2--h5284365_0 as jbrowse_builder

WORKDIR /app
RUN jbrowse create annelids && cd annelids
COPY jbrowse_script.sh .
RUN ./jbrowse_script.sh
RUN rm -rf ./node_modules

# Stage 2: Load into nginx
FROM nginx:alpine

WORKDIR /usr/share/nginx/html
RUN rm -rf ./*
cyril.cros's avatar
cyril.cros committed
COPY --from=jbrowse_builder /app/annelids/ .
ENTRYPOINT ["nginx", "-g", "daemon off;"]