@ -0,0 +1 @@
2_compose/data
@ -1 +1,6 @@
#!/bin/bash
docker run --rm docker/whalesay cowsay "Hello M1 III 2021"
docker container run --rm -it python:3 python
@ -0,0 +1,5 @@
FROM ubuntu:latest
COPY to_run.sh to_run.sh
CMD [ "/bin/bash", "to_run.sh" ]
RUN apt-get update && apt-get install -y curl
ENTRYPOINT [ "curl" ]
@ -0,0 +1,10 @@
FROM python:2.7
COPY requirements.txt requirements.txt
COPY app.py app.py
RUN pip install -r requirements.txt
EXPOSE 5000
CMD [ "python", "app.py" ]
@ -0,0 +1,9 @@
services:
convos:
# Stable realease didn't worked causing this issue : exec user process caused: exec format error
image: convos/convos:v6.31
ports:
- "2021:3000"
volumes:
# Using ":z" for the volume for SELinux Enforcing policy on (CentOS, Fedora or RHEL)
- ./data:/data:z