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

python-flask.Dockerfile.mustache Maven / Gradle / Ivy

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

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY requirements.txt /usr/src/app/

RUN pip3 install --no-cache-dir -r requirements.txt

COPY . /usr/src/app

EXPOSE {{serverPort}}

ENTRYPOINT ["python3"]

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy