Move ENV command to the top

This commit is contained in:
Ilya Glotov
2017-05-17 18:18:58 +03:00
parent d2fb4a5ca1
commit d68a3d77f5
+1 -2
View File
@@ -4,6 +4,7 @@ MAINTAINER Rapid7
ARG BUNDLER_ARGS="--jobs=8 --without development test coverage"
ENV APP_HOME /usr/src/metasploit-framework/
ENV MSF_USER msf
ENV NMAP_PRIVILEGED=""
WORKDIR $APP_HOME
COPY Gemfile* m* Rakefile $APP_HOME
@@ -52,6 +53,4 @@ USER $MSF_USER
ADD ./ $APP_HOME
ENV NMAP_PRIVILEGED=""
CMD ["./msfconsole", "-r", "docker/msfconsole.rc"]