fix(docker): set entrypoint to uwsgi for base image
This commit is contained in:
parent
edf450613a
commit
e8ae877a48
3 changed files with 92 additions and 27 deletions
|
|
@ -15,7 +15,11 @@ COPY . .
|
|||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y libffi-dev gcc && \
|
||||
python3 -m pip install pipenv && \
|
||||
python3 -m pipenv install --deploy --system --verbose && \
|
||||
python3 setup.py install && \
|
||||
apt-get remove -y libffi-dev gcc && apt-get autoremove -y && apt-get clean -y
|
||||
apt-get remove -y libffi-dev gcc && apt-get autoremove -y && apt-get clean -y
|
||||
|
||||
CMD ["httpaste", "--help"]
|
||||
ENTRYPOINT ["uwsgi", "--master", "--enable-threads", "--manage-script-name", "-w", "httpaste.wsgi:application"]
|
||||
|
||||
CMD ["-s", "/tmp/yourapplication.sock"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue