Skip to content
Snippets Groups Projects
Verified Commit 17290ff6 authored by Mark's avatar Mark
Browse files

Add Dockerfiles

parent 0bd6e572
No related branches found
No related tags found
No related merge requests found
FROM python:3.7
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ARG FLASK_PORT=5001
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" ]
FROM python:3.7
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 HYDRA_ADMIN_URL http://localhost:4445
CMD [ "flask", "run" ]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment