first commit

This commit is contained in:
dev-chiefworks
2024-01-29 09:49:34 -05:00
commit 3c46b06a09
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Dockerfile
FROM python:3.9.10-alpine3.14
WORKDIR /srv
RUN pip install --upgrade pip
RUN pip install flask
COPY . /srv
ENV FLASK_APP=app
CMD ["python","app.py"]
+8
View File
@@ -0,0 +1,8 @@
# docker-compose.yaml
version: '3'
services:
flask-web:
build: '.'
ports:
- '5000:5000'