Merge commit '89bfc25f35bdfd57eb9ccf6f3a9a3de76e68cf93'
This commit is contained in:
commit
2401f3aa9c
|
@ -11,7 +11,7 @@ RUN apt-get update && \
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY pyproject.toml poetry.lock /app/
|
COPY pyproject.toml poetry.lock /app/
|
||||||
RUN poetry install
|
RUN poetry install --without dev
|
||||||
|
|
||||||
RUN set -xe \
|
RUN set -xe \
|
||||||
&& apt-get remove -y gcc python3-dev libssl-dev \
|
&& apt-get remove -y gcc python3-dev libssl-dev \
|
||||||
|
@ -23,6 +23,6 @@ COPY . /app/
|
||||||
|
|
||||||
# run poetry install again AFTER copying the app into the image
|
# run poetry install again AFTER copying the app into the image
|
||||||
# otherwise it does not know what the main app module is
|
# otherwise it does not know what the main app module is
|
||||||
RUN poetry install
|
RUN poetry install --without dev
|
||||||
|
|
||||||
CMD ./bin/boot_server_in_docker
|
CMD ./bin/boot_server_in_docker
|
||||||
|
|
Loading…
Reference in New Issue