15 lines
261 B
Docker
15 lines
261 B
Docker
FROM python:3
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY game_collection/requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY game_collection .
|
|
COPY start.sh .
|
|
RUN chmod +x start.sh
|
|
|
|
EXPOSE 3004
|
|
|
|
CMD [ "flask", "run", "--host=0.0.0.0", "--port=3004" ]
|