Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions Dockerfile.jinja → Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.11.5-alpine

{% if from_ccsteam %}LABEL Maintainer="eXpress Unlimited Production"{% endif %}


# Install system-wide dependencies
RUN apk update && \
Expand Down Expand Up @@ -36,18 +36,9 @@ RUN pip install --user --no-cache-dir poetry==1.4.2 && \

COPY poetry.lock pyproject.toml ./

{% if has_private_dependencies == "yes" %}
ARG CI_JOB_TOKEN=""
ARG GIT_HOST=""
ARG GIT_PASSWORD=${CI_JOB_TOKEN}
ARG GIT_LOGIN="gitlab-ci-token"
# Poetry can't read password to download private repos
RUN echo -e "machine ${GIT_HOST}\nlogin ${GIT_LOGIN}\npassword ${GIT_PASSWORD}" > ~/.netrc && \
poetry install --only main && \
rm -rf ~/.netrc
{% else %}

RUN poetry install --only main
{% endif %}


COPY alembic.ini .
COPY app app
Expand Down
55 changes: 0 additions & 55 deletions LICENSE.md

This file was deleted.

Loading
Loading