Skip to content

Commit

Permalink
Update entrypoint from sh to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
mitch-b authored Jan 16, 2025
1 parent 16578fe commit d862315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenWish.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ COPY --from=build /app/publish .
COPY --from=build /app/version.txt .

# Entrypoint script to set APP_VERSION, then start the app
RUN echo '#!/bin/sh' > /entrypoint.sh && \
RUN echo '#!/bin/bash' > /entrypoint.sh && \
echo 'export APP_VERSION=$(cat /app/version.txt)' >> /entrypoint.sh && \
echo 'echo "App version: $APP_VERSION"' >> /entrypoint.sh && \
echo 'exec dotnet OpenWish.Web.dll' >> /entrypoint.sh && \
Expand Down

0 comments on commit d862315

Please sign in to comment.