Skip to content

instituciones-abiertas/python3-uno-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Dockerfile with a modified python version that uses the Uno library for the IA² server.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks