Goes back to default install location. Copies files to the right spot
This commit is contained in:
parent
0f48d6c81e
commit
5ec97dc68d
|
@ -26,7 +26,7 @@ RUN set -xe \
|
||||||
python3-pip \
|
python3-pip \
|
||||||
gunicorn3 \
|
gunicorn3 \
|
||||||
postgresql-client \
|
postgresql-client \
|
||||||
&& python3 -m pip install --target=/app *.whl \
|
&& python3 -m pip install *.whl \
|
||||||
&& apt-get remove -y python3-pip python3-wheel \
|
&& apt-get remove -y python3-pip python3-wheel \
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
&& apt-get clean -y \
|
&& apt-get clean -y \
|
||||||
|
@ -38,9 +38,9 @@ RUN set -xe \
|
||||||
|
|
||||||
USER _gunicorn
|
USER _gunicorn
|
||||||
|
|
||||||
COPY crc/static /app/static
|
COPY ./crc/static /app/static
|
||||||
COPY docker_run.sh /app
|
COPY ./docker_run.sh /app/
|
||||||
COPY wait-for-it.sh /app
|
COPY ./wait-for-it.sh /app/
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
CMD ["gunicorn3", \
|
CMD ["gunicorn3", \
|
||||||
|
|
Loading…
Reference in New Issue