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 Jan 6, 2025
1 parent 9335fda commit 1966b88
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 1966b88

Please sign in to comment.