Skip to content

Commit

Permalink
chore: fix typo in Dockerfile (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
eltociear committed Mar 28, 2022
1 parent 8146158 commit 26707ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -24,7 +24,7 @@ ARG BASE_URL_PLACEHOLDER
ARG ENTRYPOINT_SCRIPT=/docker-entrypoint.d/set-public-url.sh

COPY --from=build /build /usr/share/nginx/html/
# Add an entrypoint script that replaces all occurences of the
# Add an entrypoint script that replaces all occurrences of the
# placeholder value by the configured base URL. If no base URL
# is configured we assume the application is running at '/'.
RUN echo "find /usr/share/nginx/html/ -type f -print0 | xargs -0 sed -i \"s|${BASE_URL_PLACEHOLDER}|\${BASE_URL}|g\"" > $ENTRYPOINT_SCRIPT && chmod +x $ENTRYPOINT_SCRIPT
Expand Down

0 comments on commit 26707ce

Please sign in to comment.