We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0a0ec2 commit bb7080aCopy full SHA for bb7080a
Dockerfile
@@ -0,0 +1,6 @@
1
+FROM python:2.7
2
+
3
+COPY . .
4
5
+RUN echo \
6
+ && pip install -r requirements.txt
docker-compose.yml
@@ -0,0 +1,15 @@
+version: '2'
+services:
+ biojs-backend:
+ command: /bin/sh -c "pip install -r requirements.txt && python manage.py migrate && python manage.py runserver 0.0.0.0:8000 --verbosity 3"
+ image: biojs-backend-base
+ working_dir: /opt
7
+ volumes:
8
+ - .:/opt
9
+ ports:
10
+ - 8000:8000
11
+ networks:
12
+ - service
13
14
+networks:
15
+ service:
0 commit comments