initial
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM docker:dind
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
RUN apk add --update --no-cache python3 py3-pip && ln -sf python3 /usr/bin/python
|
||||
RUN python3 -m venv venv
|
||||
RUN venv/bin/python3 -m ensurepip
|
||||
RUN venv/bin/pip3 install --no-cache --upgrade pip setuptools
|
||||
|
||||
ENTRYPOINT [ "venv/bin/python3", "main.py" ]
|
||||
Reference in New Issue
Block a user