first commit
This commit is contained in:
@@ -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"]
|
||||
@@ -0,0 +1,8 @@
|
||||
# docker-compose.yaml
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
flask-web:
|
||||
build: '.'
|
||||
ports:
|
||||
- '5000:5000'
|
||||
Reference in New Issue
Block a user