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

RUN apk add gcc libc-dev libffi-dev

WORKDIR /usr/src/app

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

COPY . .

ARG FLASK_PORT=5002

EXPOSE $FLASK_PORT

ENV FLASK_ENV production
ENV FLASK_RUN_PORT $FLASK_PORT
ENV FLASK_RUN_HOST 0.0.0.0
ENV HYDRA_ADMIN_URL http://localhost:4445


CMD [ "flask", "run" ]