diff --git a/1_dockerfile/bash/Dockerfile b/1_dockerfile/bash/Dockerfile index e69de29..aa7b1e3 100644 --- a/1_dockerfile/bash/Dockerfile +++ b/1_dockerfile/bash/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:latest + +COPY to_run.sh to_run.sh + +CMD [ "/bin/bash", "to_run.sh" ] \ No newline at end of file diff --git a/1_dockerfile/curl/Dockerfile b/1_dockerfile/curl/Dockerfile index e69de29..7d0fb6b 100644 --- a/1_dockerfile/curl/Dockerfile +++ b/1_dockerfile/curl/Dockerfile @@ -0,0 +1,5 @@ +FROM ubuntu:latest + +RUN apt-get update && apt-get install -y curl + +ENTRYPOINT [ "curl" ] \ No newline at end of file diff --git a/1_dockerfile/python/Dockerfile b/1_dockerfile/python/Dockerfile index e69de29..c280fb7 100644 --- a/1_dockerfile/python/Dockerfile +++ b/1_dockerfile/python/Dockerfile @@ -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" ] \ No newline at end of file diff --git a/2_compose/docker-compose.yml b/2_compose/docker-compose.yml index e69de29..2f6b8a8 100644 --- a/2_compose/docker-compose.yml +++ b/2_compose/docker-compose.yml @@ -0,0 +1,7 @@ +services: + convos: + image: convos/convos:v6.31 + ports: + - "2021:3000" + volumes: + - ./data:/data:z \ No newline at end of file