Skip to content

Commit

Permalink
Merge pull request #26 from BuffaloWill/Docker
Browse files Browse the repository at this point in the history
Migrating work done in #23
  • Loading branch information
BuffaloWill authored Oct 31, 2017
2 parents 5a00744 + 2e9f50b commit c287367
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ruby:2.3.5-slim
RUN apt-get update && \
apt-get install -y make git libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc && \
apt-get clean
RUN git clone --depth=1 https://github.com/BuffaloWill/oxml_xxe.git /oxml_xxe && \
cd /oxml_xxe && \
bundle install
WORKDIR /oxml_xxe
EXPOSE 4567
ENTRYPOINT ["ruby", "server.rb"]
CMD ["-o", "0.0.0.0"]
5 changes: 5 additions & 0 deletions docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Docker Build

This docker build is authored by 0xdevalias (https://github.com/0xdevalias/docker-oxml_xxe), maintained as part of oxml_xxe.


0 comments on commit c287367

Please sign in to comment.