Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
make core openshift compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
EPedrotti committed Jan 8, 2019
1 parent 70667ca commit 11e601e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Expand Up @@ -31,6 +31,15 @@ COPY . .

RUN pip install -e . --no-cache-dir

ENV APP_ROOT=/app
ENV PATH=${APP_ROOT}:${PATH} HOME=${APP_ROOT}
RUN chmod -R u+x ${APP_ROOT} && \
chgrp -R 0 ${APP_ROOT} && \
chmod -R g=u ${APP_ROOT}

USER 10001
WORKDIR ${APP_ROOT}

VOLUME ["/app/model", "/app/config", "/app/project"]

EXPOSE 5005
Expand Down

0 comments on commit 11e601e

Please sign in to comment.