27742db4fb
this repo is a reinitialization with a change in the concept previous repo had git subtree of django-musician and django-orchestra, that was too static for our interest next approach is a script that pulls git repos, and that would be needed if you want to build everything, if not, just with the docker compose you would have enough for running the containers, hence, downloading the images from the docker registry
27 lines
575 B
Docker
27 lines
575 B
Docker
# right now this is this is heavily inspired to git repo django-musician/Dockerfile
|
|
#FROM python
|
|
FROM debian:bullseye-slim
|
|
|
|
RUN apt update && apt-get install -y \
|
|
python3-minimal \
|
|
python3-pip \
|
|
python3-dev \
|
|
python-is-python3
|
|
|
|
WORKDIR /home
|
|
|
|
RUN python3 -m pip install --upgrade pip
|
|
RUN pip install wheel
|
|
|
|
COPY django-musician .
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY docker/musician.entrypoint.sh .
|
|
ENTRYPOINT sh ./musician.entrypoint.sh
|
|
|
|
#RUN python manage.py migrate
|
|
#
|
|
#EXPOSE 8080
|
|
#
|
|
#ENTRYPOINT [ "python", "manage.py", "runserver", "0.0.0.0:8080" ]
|