You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
949 B
Docker
39 lines
949 B
Docker
# <WARNING>
|
|
# Everything within sections like <TAG> is generated and can
|
|
# be automatically replaced on deployment. You can disable
|
|
# this functionality by simply removing the wrapping tags.
|
|
# </WARNING>
|
|
|
|
# <DOCKER_FROM>
|
|
FROM aldryn/base-project:py3-3.23
|
|
# </DOCKER_FROM>
|
|
|
|
# <NPM>
|
|
# </NPM>
|
|
|
|
# <BOWER>
|
|
# </BOWER>
|
|
|
|
# <PYTHON>
|
|
ENV PIP_INDEX_URL=${PIP_INDEX_URL:-https://wheels.aldryn.net/v1/aldryn-extras+pypi/${WHEELS_PLATFORM:-aldryn-baseproject-py3}/+simple/} \
|
|
WHEELSPROXY_URL=${WHEELSPROXY_URL:-https://wheels.aldryn.net/v1/aldryn-extras+pypi/${WHEELS_PLATFORM:-aldryn-baseproject-py3}/}
|
|
COPY requirements.* /app/
|
|
COPY addons-dev /app/addons-dev/
|
|
RUN pip-reqs compile && \
|
|
pip-reqs resolve && \
|
|
pip install \
|
|
--no-index --no-deps \
|
|
--requirement requirements.urls
|
|
# </PYTHON>
|
|
|
|
# <SOURCE>
|
|
COPY . /app
|
|
# </SOURCE>
|
|
|
|
# <GULP>
|
|
# </GULP>
|
|
|
|
# <STATIC>
|
|
RUN DJANGO_MODE=build python manage.py collectstatic --noinput
|
|
# </STATIC>
|