WMGZON/dockerfile

8 lines
200 B
Plaintext

FROM python:latest
COPY ./requirements.txt /app/requirements.txt
WORKDIR /app
RUN pip install -r requirements.txt
COPY . /app
ENTRYPOINT [ "python" ]
RUN ["scripts/create_database.py"]
CMD ["app.py" ]