Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Updated Dockerfile to fix Issue #49 
The second copy appeared to be overwriting a number of files.
  • Loading branch information
FelSec authored Jul 18, 2023
1 parent ebd406c commit 0bfd014
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ RUN apt-get update && \

WORKDIR /oxml_xxe

# install deps
COPY Gemfile ./
RUN bundle install

# Copy and install deps
COPY . .
RUN bundle install

EXPOSE 4567
CMD ["bundle", "exec", "ruby", "server.rb", "-o", "0.0.0.0", "-p", "4567"]

0 comments on commit 0bfd014

Please sign in to comment.