12 lines
342 B
Docker
12 lines
342 B
Docker
FROM python:3.8.2-slim
|
|
|
|
# note: a single RUN to avoid too many image layers being produced
|
|
RUN apt-get update \
|
|
&& apt-get upgrade -y \
|
|
&& apt-get install git apt-utils -y \
|
|
&& git config --global user.email "black@psf.github.com" \
|
|
&& git config --global user.name "Gallery/Black"
|
|
|
|
COPY gallery.py /
|
|
ENTRYPOINT ["python", "/gallery.py"]
|