Skip to content
Snippets Groups Projects
Dockerfile 375 B
Newer Older
Mark's avatar
Mark committed

Mark's avatar
Mark committed
WORKDIR /usr/src/app

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 5000

ENV FLASK_ENV production
ENV FLASK_RUN_HOST 0.0.0.0
ENV FLASK_RUN_PORT 5000
Mark's avatar
Mark committed
ENV HYDRA_ADMIN_URL http://localhost:4445
ENV GRAPHQL_URL http://localhost:5002/graphql
Mark's avatar
Mark committed

CMD [ "flask", "run" ]