All Downloads are FREE. Search and download functionalities are using the official Maven repository.

python-blueplanet.app.Dockerfile.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
FROM python:3-alpine

ARG GLTOKEN

RUN apk add curl bash
ENV SHELL /bin/bash

RUN mkdir /bp2 \
 && mkdir /bp2/data \
 && mkdir /bp2/log \
 && mkdir /bp2/src \
 && echo 'alias ll="ls -l"' >> ~/.bashrc
WORKDIR /bp2/src

COPY requirements.txt /bp2/src

RUN pip3 install --extra-index-url https://GLTOKEN:[email protected]/simple --no-cache-dir -r requirements.txt

COPY . /bp2/src

ENV SBIS=bpocore \
    SBI_bpocore_southbound-update=update_etc_hosts_multi_provider

EXPOSE {{serverPort}}

ENTRYPOINT ["python3"]

CMD ["-B", "-m", "{{packageName}}"]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy