Skip to content

Commit

Permalink
add lic to final step
Browse files Browse the repository at this point in the history
  • Loading branch information
aleortega committed Jan 22, 2024
1 parent 4724e36 commit d314c88
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ RUN powershell -Command \
Expand-Archive -Path C:\\node.zip -DestinationPath C:\\Node; \
Remove-Item -Force C:\\node.zip

RUN setx /M PATH "C:\\Node\node-v18.0.0-win-x64;%PATH%"
RUN setx /M PATH "C:/Node/node-v18.0.0-win-x64;%PATH%"

ADD https://classic.yarnpkg.com/latest.msi C:\\yarn.msi
RUN powershell -Command \
Start-Process msiexec.exe -ArgumentList '/i', 'C:\\yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait; \
Start-Process msiexec.exe -ArgumentList '/i', 'C:/yarn.msi', '/quiet', '/norestart' -NoNewWindow -Wait; \
Remove-Item -Force C:\\yarn.msi

WORKDIR /bin
Expand Down Expand Up @@ -73,26 +73,19 @@ RUN powershell -Command \
Expand-Archive -Path C:\\node.zip -DestinationPath C:\\Node; \
Remove-Item -Force C:\\node.zip

RUN setx /M PATH "%PATH%;C:\\Node\node-v18.14.2-win-x64"

RUN setx /M PATH "%PATH%;C:/Node/node-v18.14.2-win-x64"

WORKDIR /vulkan-sdt
ARG VULKAN_DLL_PATH
COPY ${VULKAN_DLL_PATH} .

RUN dir

# print current dir
RUN echo %cd%

RUN setx /M PATH "%PATH%;C:\\vulkan-sdt"

RUN dir C:\Windows\\System32
RUN setx /M PATH "%PATH%;C:/vulkan-sdt"

WORKDIR /app/api
COPY --from=dotnet-build /build/publish/ .
COPY pixyzsdk-29022024.lic ./pixyzsdk-29022024.lic

RUN setx /M PATH "%PATH%;C:\\app\api"
RUN setx /M PATH "%PATH%;C:/app/api"
RUN echo %PATH%

RUN dir
Expand Down

0 comments on commit d314c88

Please sign in to comment.