Skip to content

Commit

Permalink
add emulator dockerfile (#2024)
Browse files Browse the repository at this point in the history
* add emulator dockerfile

---------

Co-authored-by: chuongnguyen <[email protected]>
  • Loading branch information
cqnguy23 and chuongnguyen authored Sep 5, 2024
1 parent 46d9c93 commit d5fafa8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Microsoft.Azure.SignalR.Emulator/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Make sure to check the SDK version required to build the latest version
# of Emulator here: https://www.nuget.org/packages/Microsoft.Azure.SignalR.Emulator
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build

WORKDIR /emulator

RUN dotnet tool install -g Microsoft.Azure.SignalR.Emulator

COPY . .

ENV PATH="/root/.dotnet/tools:${PATH}"

ENTRYPOINT ["asrs-emulator", "start", "-i", "0.0.0.0"]

0 comments on commit d5fafa8

Please sign in to comment.