We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b6edc8 commit cddff98Copy full SHA for cddff98
Dockerfile
@@ -1,3 +1,4 @@
1
+ARG NIGHTLY=0
2
FROM python:3.12-slim
3
4
# Install packages needed to run your application (not build deps):
@@ -39,6 +40,11 @@ RUN set -ex \
39
40
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false $BUILD_DEPS \
41
&& rm -rf /var/lib/apt/lists/*
42
43
+RUN [ "$NIGHTLY" -eq "1" ] && \
44
+ curl -s https://releases.wagtail.org/nightly/latest.json | \
45
+ grep -o 'https://[^"]*' | \
46
+ xargs python3.12 -m pip install
47
+
48
RUN mkdir /code/
49
WORKDIR /code/
50
ADD . /code/
heroku.yml
@@ -2,6 +2,8 @@ build:
docker:
web:
dockerfile: Dockerfile
5
+ config:
6
+ NIGHTLY: 1
7
8
release:
9
image: web
0 commit comments