Skip to content

Commit

Permalink
Reorganized the Dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
lanmaster53 committed Oct 31, 2019
1 parent e944a3f commit e4bb90d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM python:3.7-alpine

RUN apk add --no-cache --virtual .build-deps gcc libc-dev libxslt-dev && \
apk add --no-cache libxslt && \
pip install --no-cache-dir lxml && \
apk del .build-deps && \
mkdir -p /recon-ng
RUN mkdir -p /recon-ng

WORKDIR /recon-ng

ADD ./REQUIREMENTS /recon-ng/REQUIREMENTS

RUN pip install -r REQUIREMENTS
RUN apk add --no-cache --virtual .build-deps gcc libc-dev libxslt-dev &&\
apk add --no-cache libxslt &&\
pip install --no-cache-dir -r REQUIREMENTS &&\
apk del .build-deps

0 comments on commit e4bb90d

Please sign in to comment.