-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.dev
More file actions
35 lines (24 loc) · 800 Bytes
/
Dockerfile.dev
File metadata and controls
35 lines (24 loc) · 800 Bytes
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
FROM python:3.11
ENV PYTHONUNBUFFERED=1
RUN mkdir /app
WORKDIR /app
# Install dependencies
# RUN wget https://github.com/draeger-lab/ModelPolisher/releases/download/1.7/ModelPolisher-1.7.jar
RUN apt-get update && apt-get install -y \
libxml2-dev postgresql-client
WORKDIR /server
RUN apt-get install -y nodejs npm
RUN npm install -g sass
WORKDIR /app
COPY requirements.txt /app/
RUN pip install -r requirements.txt
RUN git clone https://github.com/biosustain/biggr_maps.git biggr_maps
WORKDIR /app/biggr_maps/
# RUN git pull && git reset --hard c263910
RUN python setup.py install
WORKDIR /app
# RUN git clone -b api https://github.com/biosustain/cobradb.git cobradb
# WORKDIR /app/cobradb/
# RUN git pull && git reset --hard 6082ebb
WORKDIR /server
CMD ["bin/server-entrypoint-dev.sh"]