modified setings for starting db with docker volume

This commit is contained in:
Artyom Kravchenko
2021-03-22 17:08:17 +03:00
parent 271695f6f6
commit e96ee7ac5b
6 changed files with 42 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
FROM python:3.6
RUN apt-get -y update && apt-get -y upgrade && apt-get install git && apt-get install curl
COPY ./ /access_controller
WORKDIR /access_controller/
RUN pip install -r requirements.txt
RUN python manage.py makemigrations
EXPOSE 8000
COPY start.sh /var/
CMD bash /var/start.sh