Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
erickpeirson committed Feb 26, 2019
1 parent 049a1c4 commit 417a51f
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile-registry
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ RUN pip install -U pip pipenv
ENV LC_ALL en_US.utf-8
ENV LANG en_US.utf-8

ADD Pipfile /opt/arxiv/
ADD Pipfile Pipfile.lock /opt/arxiv/
RUN pipenv install

ADD users/ /opt/arxiv/users/
RUN pipenv install /opt/arxiv/users/
RUN pipenv install /opt/arxiv/users/ --skip-lock

ENV PATH "/opt/arxiv:${PATH}"

Expand All @@ -29,9 +29,8 @@ CMD ["uwsgi", "--http-socket", ":8000", \
"-M", \
"-t 3000", \
"--manage-script-name", \
"--processes", "8", \
"--processes", "1", \
"--threads", "1", \
"--async", "100", \
"--ugreen", \
"--mount", "/api=wsgi.py", \
"--queue", "0", \
"--mount", "/=wsgi.py", \
"--logformat", "%(addr) %(addr) - %(user_id)|%(session_id) [%(rtime)] [%(uagent)] \"%(method) %(uri) %(proto)\" %(status) %(size) %(micros) %(ttfb)"]

0 comments on commit 417a51f

Please sign in to comment.