Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 1.93 KB

README.md

File metadata and controls

77 lines (57 loc) · 1.93 KB

IA² | python3-uno Dockerfile

IA²

Docker image for the IA² server


Docker Image Version Docker Image Downloads License Contributor Covenant

About

This repository is extended from the python image.

How to use it

DockerFile

Just copy this in a Dockerfile file.

FROM cambalab/python3-uno

WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

CMD [ "python", "./your-daemon-or-script.py" ]

Then build the image and run it:

docker build -t my-python-app .
docker run -it --rm --name my-running-app my-python-app

Standalone

docker build -t my-python-uno . 
docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp my-python-uno python tu_script.py

License

GNU General Public License version 3