Skip to content

Commit

Permalink
Fix FileSystemWatcher not working inside a docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
natenho committed Jul 13, 2019
1 parent 38f514a commit 82e02f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mockaco/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ FROM build AS publish
RUN dotnet publish "Mockaco.csproj" -c Release -o /app

FROM base AS final
ENV DOTNET_USE_POLLING_FILE_WATCHER=true
WORKDIR /app
COPY --from=publish /app .
COPY Mocks /app/Mocks
Expand Down

0 comments on commit 82e02f7

Please sign in to comment.