Create docker files for development environment

modern-tables
Mark Veidemanis 2 years ago
parent 909c5de4f9
commit 9bb580f8dd
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

1
.gitignore vendored

@ -153,3 +153,4 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
.idea/
.bash_history

@ -2,7 +2,7 @@ version: "2"
services:
app:
image: pathogen/neptune
image: pathogen/neptune:latest
build: ./docker
volumes:
- ${PORTAINER_GIT_DIR}:/code

@ -12,7 +12,7 @@ USER pathogen
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY requirements.prod.txt /code/
COPY requirements.dev.txt /code/
RUN python -m venv /venv
RUN . /venv/bin/activate && pip install -r requirements.prod.txt
RUN . /venv/bin/activate && pip install -r requirements.dev.txt
CMD . /venv/bin/activate && exec python manage.py runserver 0.0.0.0:8000

@ -0,0 +1,8 @@
wheel
django
django-crispy-forms
crispy-bulma
opensearch-py
stripe
django-rest-framework
numpy
Loading…
Cancel
Save