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 .

EXPOSE 3004

CMD [ "flask", "run", "--host=0.0.0.0", "--port=3004" ]