Skip to content

Commit

Permalink
Use workdir in npm to work around windows's containers lack of PATH u…
Browse files Browse the repository at this point in the history
…sage on custom entrypoint
  • Loading branch information
jwdb committed Dec 30, 2024
1 parent bf59fb5 commit 551f3c0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile.Windows
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ RUN del Node.zip

ENV PATH="%path%;C:\Windows\System32;C:\Node\node-v20.0.0-win-x64"

ENTRYPOINT "cmd.exe /S /C"

#
# Builder
#
Expand Down Expand Up @@ -64,4 +66,6 @@ EXPOSE 10001
# Table Storage Port
EXPOSE 10002

WORKDIR C:\\Node\\node-v20.0.0-win-x64\\

CMD "azurite -l c:/data --blobHost 0.0.0.0 --queueHost 0.0.0.0 --tableHost 0.0.0.0"

0 comments on commit 551f3c0

Please sign in to comment.