Skip to content

Commit

Permalink
🐛 Fix Windows Dockerfile build location (#121)
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Montleon <jmontleo@redhat.com>
  • Loading branch information
jmontleon authored Jun 25, 2024
1 parent b9b8e64 commit ba9930e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ RUN Write-Host 'Installing "yarn" ...'; \

ARG VERSION=main
ENV VERSION=$VERSION
COPY . /opt/app-root/src/build
COPY . /opt/app-root/src
ENV CI=true
ENV PUBLIC_URL=.
RUN Write-Host 'Build static-report ...'; \
\
cd c:\opt\app-root\src\build; \
cd c:\opt\app-root\src; \
(Get-Content ./public/version.js) -replace \"_VERSION_\", $VERSION -replace \"main\", \"latest\" | Set-Content ./public/version.js; \
npm clean-install; \
npm run build; \
Expand Down

0 comments on commit ba9930e

Please sign in to comment.