adding exercise for docker compose

This commit is contained in:
Anja Freudenreich committed 2024-04-12 22:09:33 +02:00
1 parent 46192ddcc9
commit ab4179c785
13 files changed
+440

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
# Example of Dockerfile
FROM python:3.8.5-alpine3.12
WORKDIR /app
EXPOSE 5000
ENV FLASK_APP=app.py
COPY . /app
RUN pip install -r requirements.txt
ENTRYPOINT [ "flask"]
CMD [ "run", "--host=0.0.0.0" ]