Skip to content

Commit

Permalink
chore: fix white spaces docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
PGerardi committed Sep 11, 2023
1 parent 0a88871 commit afb7d04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions {{ cookiecutter.__package_name_kebab_case }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ RUN git clone --branch v$ANTIDOTE_VERSION --depth=1 https://github.com/mattmc3/a
RUN ln -s /run/secrets/poetry-auth /home/user/.config/pypoetry/auth.toml
{%- endif %}

{% if "radixai/python-gpu" in cookiecutter.docker_image %}
{%- if "radixai/python-gpu" in cookiecutter.docker_image %}

ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/conda/lib
{%- endif %}
{%- if cookiecutter.with_fastapi_api|int or cookiecutter.with_streamlit_app|int or cookiecutter.with_typer_cli|int %}
Expand All @@ -130,8 +131,8 @@ FROM base AS app

# Copy the package source code to the working directory.
COPY --chown=user:user . .
{%- if "radixai/python-gpu" in cookiecutter.docker_image %}

{% if "radixai/python-gpu" in cookiecutter.docker_image %}
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/conda/lib
{%- endif %}
# Expose the application.
Expand Down

0 comments on commit afb7d04

Please sign in to comment.