configure baseproject default_v3_py3 3.23

standalone
Simon Caminada 8 years ago
parent 0f724d3f2f
commit 7feaf7b129

@ -1,7 +1,11 @@
# <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>
@ -11,13 +15,24 @@
# </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>

@ -0,0 +1,6 @@
#!/bin/sh
# This script only exists for compatibility reasons to a legacy deploy system and
# will be removed. Please use the "start migrate" command to run migrations.
# Custom migrations can be added through the MIGRATION_COMMANDS setting.
set -x
start migrate
Loading…
Cancel
Save