Skip to content

Commit

Permalink
Update Dockerfile and README.md, delete .dockerignore
Browse files Browse the repository at this point in the history
Signed-off-by: Vartan Benohanian <[email protected]>
  • Loading branch information
vartanbeno committed Dec 4, 2018
1 parent 756aaad commit ae1a11a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
10 changes: 0 additions & 10 deletions .dockerignore

This file was deleted.

10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM python:3

RUN mkdir -p /usr/app
WORKDIR /usr/app
RUN mkdir -p /usr/src
WORKDIR /usr/src

COPY requirements.txt /usr/app
COPY requirements.txt /usr/src

RUN pip install --no-cache-dir -r requirements.txt && \
python -m nltk.downloader punkt && \
Expand All @@ -17,7 +17,7 @@ RUN echo "alias ..='cd ..'" >> ~/.bashrc && \
echo "alias ll='ls -ltr'" >> ~/.bashrc && \
echo "alias cl='clear'" >> ~/.bashrc

COPY src /usr/app/src
WORKDIR /usr/app/src
COPY src /usr/src/app
WORKDIR /usr/src/app

CMD ["bash"]
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ python main.py [-skip|--skip-crawl]
- **Roger Shubho Madhu** - *ID:* 40076461
- **Vartan Benohanian** - *ID:* 27492049

## Report

The project report, which includes more detailed specifications, as well as sample runs of the application, can be viewed [here](Project%20Report.pdf).

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

0 comments on commit ae1a11a

Please sign in to comment.