add Dockerfile for automatic container creation
This commit is contained in:
parent
4936114942
commit
64d6638cc3
|
@ -0,0 +1,11 @@
|
||||||
|
FROM python:3.11-slim-bullseye
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY ./requirements.txt /app/requirements.txt
|
||||||
|
|
||||||
|
RUN python -m pip install -r requirements.txt
|
||||||
|
|
||||||
|
COPY ./app/ /app/app/
|
||||||
|
|
||||||
|
CMD flask run -h 0.0.0.0 -p $PORT
|
Loading…
Reference in New Issue