Skip to content

Conversation

@linawolf
Copy link
Member

When using the docker container locally
or in a custom pipeline.

When using the docker container locally
or in a custom pipeline.
ENV TYPO3AZUREEDGEURIVERSION=$TYPO3AZUREEDGEURIVERSION

WORKDIR /project
RUN mkdir -p /project/custom-templates
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
RUN mkdir -p /project/custom-templates
RUN mkdir -p /templates

docker run --rm \
--pull always \
-v "$(pwd):/project" \
-v "$(pwd)/my-custom-templates:/project/custom-templates:ro" \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend to use a separate root path for the templates. Like /templates this prevents strange behavior in the order of volumes. In the order you wrote it it will work. Otherway around it does not. People might be unaware of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants