-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
38 lines (29 loc) · 1.14 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
FROM geneticlogiclab/ibiosim:snapshot
LABEL base_image="geneticlogiclab/ibiosim"
LABEL version="1.0.0"
LABEL software="iBioSim-API"
LABEL software.version="1.0.0"
LABEL about.summary="API for SBOLCanvas/SynBioHub communication with iBioSim"
LABEL about.home="https://github.com/MyersResearchGroup/iBioSim"
LABEL about.documentation="https://github.com/MyersResearchGroup/iBioSim"
LABEL about.license_file="https://github.com/MyersResearchGroup/iBioSim/blob/master/LICENSE.txt"
LABEL about.license="Apache-2.0"
LABEL about.tags="kinetic modeling,dynamical simulation,systems biology,biochemical networks,SBML,SED-ML,COMBINE,OMEX,BioSimulators"
LABEL maintainer="Chris Myers <chris.myers@colorado.edu>"
# add iBioSim binaries to executable path
ENV PATH="/iBioSim/bin:${PATH}"
# Install requirements
RUN apt-get update --fix-missing
# install Node 16
RUN apt-get install -y curl
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
RUN apt-get install -y nodejs
# copy over application code
WORKDIR /express_app
COPY . .
# create directories we'll need
RUN mkdir /tmp/uploads
# install deps
RUN npm install
EXPOSE 4000
ENTRYPOINT [ "npm", "start" ]