Skip to content

Commit

Permalink
chore: add debugging lines to the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PGerardi committed Aug 29, 2023
1 parent 81f7df6 commit 1687839
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions {{ cookiecutter.__package_name_kebab_case }}/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ENV PYTHONFAULTHANDLER 1
ENV PYTHONUNBUFFERED 1
{%- endif %}


# Install Poetry.
ENV POETRY_VERSION 1.4.2
RUN --mount=type=cache,target=/root/.cache/pip/ \
Expand All @@ -36,8 +37,12 @@ RUN python -m venv /opt/{{ cookiecutter.__package_name_kebab_case }}-env
ENV PATH /opt/{{ cookiecutter.__package_name_kebab_case }}-env/bin:$PATH
ENV VIRTUAL_ENV /opt/{{ cookiecutter.__package_name_kebab_case }}-env

RUN ls -la /opt/{{ cookiecutter.__package_name_kebab_case }}-env/bin

# Set the working directory.
WORKDIR /workspaces/{{ cookiecutter.__package_name_kebab_case }}/
RUN ls -la /workspaces/
RUN ls -la /workspaces/{{ cookiecutter.__package_name_kebab_case }}/

# Install the run time Python dependencies in the virtual environment.
COPY --chown=user:user poetry.lock* pyproject.toml /workspaces/{{ cookiecutter.__package_name_kebab_case }}/
Expand Down

0 comments on commit 1687839

Please sign in to comment.