Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content
Snippets Groups Projects

Resolve "set public port in docker via environment variable"

4 files
+ 12
11
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
5
@@ -2,9 +2,6 @@ FROM python:3.11
WORKDIR /app
ARG GITLAB_PULL_TOKEN
ENV GITLAB_PULL_TOKEN $GITLAB_PULL_TOKEN
# Install PDF depdencies (expose-text)
RUN apt-get update
RUN apt-get install -y cmake autoconf pdftohtml
@@ -30,7 +27,7 @@ ENV PIP_DISABLE_PIP_VERSION_CHECK=1
ENV PIP_NO_CACHE_DIR=1
# Install packages
COPY requirements.txt .
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
# Install optional packages
@@ -43,7 +40,7 @@ ENV STANZA_TEST_HOME=/app/stanza_test
RUN python -m spacy download de_core_news_sm
RUN python -c "import stanza; stanza.download('de')"
COPY ./ /app/
COPY ./ ./
# use gunicorn to start multiple worker processes for parallel usage
RUN pip install gunicorn
Loading

Use of Cookies

We use Matomo Analytics to analyze the use of our platform.

You can decide whether to allow us to process your data for these purposes. Privacy Policy. You can revoke your consent at any time.