odedshimon / BruteShark

Network Analysis Tool
GNU General Public License v3.0
3.02k stars 332 forks source link

Develop #35

Closed yezz123 closed 4 years ago

yezz123 commented 4 years ago

is this vers of develop will be with more updates and new stuff ?

yezz123 commented 4 years ago

@odedshimon Hey! I was asking u one time about the different between WireShark & BruteShark and after that i try a method to build image of WireShark on docker and that work! Soo what u think about build an image of your project using docker :

Copy csproj and restore as distinct layers

COPY *.csproj ./ RUN dotnet restore

Copy everything else and build

COPY . ./ RUN dotnet publish -c Release -o out

Build runtime image

FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 WORKDIR /app COPY --from=build-env /app/out . ENTRYPOINT ["dotnet", "aspnetapp.dll"]


-  To make your build context as small as possible add a [`.dockerignore`
   file](/engine/reference/builder/#dockerignore-file)
   to your project folder and copy the following into it.

```dockerignore
bin/
obj/

Build and run the Docker image

$ docker build -t aspnetapp .
$ docker run -d -p 8080:80 --name myapp aspnetapp

And this is stay just a suggestion to make this project more powerful and Thank you! 🙏

odedshimon commented 4 years ago

hi @yezz123,

Oded.