mirror of
https://github.com/ysoftdevs/wapifuzz.git
synced 2026-03-19 16:21:15 +01:00
Simplyfy docker run arguments
Filenames can be now passed standalone, without mnt/ prefix.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# We need .NET Core image for running parser
|
||||
FROM mcr.microsoft.com/dotnet/core/sdk:2.1
|
||||
|
||||
ENV container=true
|
||||
|
||||
# Expose port for process monitor
|
||||
EXPOSE 26002/tcp
|
||||
EXPOSE 26002/udp
|
||||
@@ -15,11 +17,10 @@ COPY fuzzer /usr/local/fuzzer/fuzzer
|
||||
COPY parser /usr/local/fuzzer/parser
|
||||
COPY reporter /usr/local/fuzzer/reporter
|
||||
|
||||
# And finally, copy the run script
|
||||
COPY run.sh /usr/local/bin/
|
||||
|
||||
# Set working directory
|
||||
WORKDIR /usr/local/fuzzer/
|
||||
|
||||
COPY run.sh /usr/local/fuzzer/run.sh
|
||||
|
||||
# Set run script as an entry point of the container
|
||||
ENTRYPOINT ["run.sh"]
|
||||
ENTRYPOINT ["/usr/local/fuzzer/run.sh"]
|
||||
|
||||
Reference in New Issue
Block a user