Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
agneevX committed Nov 3, 2022
1 parent 284d9ee commit acb5029
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM python:3.9

ENV VIRTUAL_ENV=/app
ENV PATH="$PATH:$VIRTUAL_ENV/bin"

COPY . $VIRTUAL_ENV

RUN apt-get update \
&& apt-get -yq install python3-dev git

RUN python3 -m venv $VIRTUAL_ENV

RUN git clone https://github.com/AmanoTeam/Unalix \
&& cd Unalix \
&& python external/update_rules_file.py \
&& pip install .

RUN pip install -r /app/requirements.txt

CMD ["python", "/app/main_file.py"]

0 comments on commit acb5029

Please sign in to comment.