Browse Source
Merge pull request #1 from Anthony-Jhoiro:chore/First_version
chore/First_version
main
Anthony Quéré
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
36 additions and
1 deletions
-
.gitignore
-
0_run/commands.sh
-
1_dockerfile/bash/Dockerfile
-
1_dockerfile/curl/Dockerfile
-
1_dockerfile/python/Dockerfile
-
2_compose/docker-compose.yml
|
|
|
@ -0,0 +1 @@ |
|
|
|
2_compose/data |
|
|
|
@ -1 +1,6 @@ |
|
|
|
#!/bin/bash |
|
|
|
#!/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" ] |
|
|
|
@ -0,0 +1,5 @@ |
|
|
|
FROM ubuntu:latest |
|
|
|
|
|
|
|
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 |