Dockerfile formatting
This commit is contained in:
parent
9cf75b351a
commit
48c39fda90
1 changed files with 2 additions and 2 deletions
|
@ -29,13 +29,13 @@ LABEL maintainer="Sebastian Ramirez <tiangolo@gmail.com>"
|
||||||
WORKDIR /usr/local/share/uvicorn-gunicorn
|
WORKDIR /usr/local/share/uvicorn-gunicorn
|
||||||
|
|
||||||
# install uvicorn-gunicorn
|
# install uvicorn-gunicorn
|
||||||
COPY "./deploy/mini-tiangolo/" "."
|
COPY ./deploy/mini-tiangolo ./
|
||||||
|
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
chmod +x start.sh; \
|
chmod +x start.sh; \
|
||||||
python3 -m pip --no-cache-dir install gunicorn;
|
python3 -m pip --no-cache-dir install gunicorn;
|
||||||
|
|
||||||
CMD ["/usr/local/share/uvicorn-gunicorn/start.sh"]
|
CMD "/usr/local/share/uvicorn-gunicorn/start.sh"
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# web app #
|
# web app #
|
||||||
|
|
Loading…
Reference in a new issue