This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syntax = docker/dockerfile:experimental | |
ARG PYTHON_VERSION=3.7.6 | |
ARG APP_ENV=prod | |
# --------------------------------------------------------------- | |
FROM python:${PYTHON_VERSION}-stretch AS base-builder | |
ENV VIRTUAL_ENV=/opt/venv | |
RUN python -m venv ${VIRTUAL_ENV} |