Add hello-world

This commit is contained in:
Andras Schmelczer 2022-06-26 13:13:08 +02:00
parent da279152ba
commit 4ed5d70830
4 changed files with 37 additions and 4 deletions

View file

@ -9,8 +9,9 @@ ENV ENVIRONMENT=production
EXPOSE 6060
# curl is needed for the healthcheck
# build-essentials are needed for building packages
RUN DEBIAN_FRONTEND=noninteractive apt update &&\
apt install curl -y &&\
apt install curl build-essential -y &&\
rm -rf /var/lib/apt/lists/*
WORKDIR /dependencies
@ -29,4 +30,7 @@ HEALTHCHECK \
WORKDIR /app
VOLUME /app
COPY docs/hello_world.py .
ENTRYPOINT ["/usr/local/bin/python3", "-m", "great_ai"]
CMD ["hello_world.py"]