Commit ff22d96c authored by Laura Morel's avatar Laura Morel
Browse files

Fix django container (again)

parent c4018421
......@@ -12,5 +12,7 @@ WORKDIR /code
COPY . /code/
RUN python3.8 generate_secret_key.py
RUN python3.8 manage.py migrate --run-syncdb
RUN python3.8 manage.py fill_db
EXPOSE 8000
......@@ -12,9 +12,6 @@ VizFaDa, for visualisation of FAANG data, aims at adding data visualisations to
Simply clone the repository and run the following command :
```
docker-compose build
docker-compose run dj python manage.py migrate --run-syncdb
docker-compose run dj python manage.py fill_db
docker-compose up -d
```
......
......@@ -6,7 +6,6 @@ services:
build: Django
command: python3.8 manage.py runserver 0.0.0.0:8000
volumes:
- ./Django:/code
- /tmp/.X11-unix:/tmp/.X11-unix
ports:
- "8000:8000"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment