File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN apk add --update --virtual .build-deps \
1212 musl-dev \
1313 openssl-dev \
1414 && python3 -m venv /app/.venv \
15+ && source /app/.venv/bin/activate \
1516 && pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
1617 && runDeps="$( \
1718 scanelf --needed --nobanner --format '%n#p' --recursive /usr/local \
@@ -30,5 +31,7 @@ RUN apk add --update --virtual .build-deps \
3031 && chmod +x /app/bin/* \
3132 && /app/bin/install
3233
34+ ENTRYPOINT ["/app/bin/entrypoint" ]
35+
3336CMD ["/app/bin/boot" ]
3437EXPOSE 8000
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ RUN apk add --update --virtual .build-deps \
1212 musl-dev \
1313 openssl-dev \
1414 && python3 -m venv /app/.venv \
15+ && source /app/.venv/bin/activate \
1516 && pip3 install --disable-pip-version-check --no-cache-dir -r /app/requirements.txt \
1617 && pip3 install --disable-pip-version-check --no-cache-dir -r /app/dev_requirements.txt \
1718 && runDeps="$( \
@@ -33,5 +34,7 @@ RUN apk add --update --virtual .build-deps \
3334 && /app/bin/install
3435COPY . /app
3536
37+ ENTRYPOINT ["/app/bin/entrypoint"]
38+
3639CMD ["/app/bin/boot"]
3740EXPOSE 8000
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # shellcheck disable=SC1090,SC1091
3+
4+ set -e
5+ source /app/.venv/bin/activate
6+ exec " $@ "
You can’t perform that action at this time.
0 commit comments