mirror of
https://github.com/maxkratz/docker_python-custom.git
synced 2024-05-18 12:01:42 +00:00
15 lines
313 B
Docker
15 lines
313 B
Docker
# Use python 3.6
|
|
FROM python:3.6
|
|
LABEL maintainer="Max Kratz <account@maxkratz.com>"
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# Update various packages
|
|
RUN apt-get update -q && \
|
|
apt-get upgrade -yq
|
|
|
|
# Install all requirements from file
|
|
COPY requirements.txt /
|
|
RUN pip install -r requirements.txt
|
|
|
|
CMD ["python3"]
|