feat: create Dockerfile for Flask application setup
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
FROM python:3
|
||||||
|
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY game_collection/requirements.txt ./
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
COPY game_collection .
|
||||||
|
|
||||||
|
CMD [ "flask", "run", "--host=0.0.0.0" ]
|
Reference in New Issue
Block a user