sergey-hovhannisyan commited on
Commit
923099b
1 Parent(s): 27c1e1a

completed milestone 1. Docker container environment ready!

Browse files
.dockerignore ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Virtual environment directories
2
+ venv/
3
+
4
+ # Data directories
5
+ data/
6
+
7
+ # Temp files & directories
8
+ *.pyc
9
+ __pycache__/
10
+
11
+ # Development specific files & directories
12
+ tests/
13
+ docs/
14
+ README.md
Dockerfile ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ FROM python:3.11.2-slim-buster
2
+ COPY . /app
3
+ WORKDIR /app
4
+ RUN pip install -r requirements.txt
5
+ CMD [ "python", "test.py"]
README.md CHANGED
@@ -1,2 +1,15 @@
1
- # toxic-tweets
2
- Focused on the study of negative online behaviors, like toxic comments using natural language processing models.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # _Toxic Tweets_
2
+ ##### __Objective__ Focused on the study of negative online behaviors, like toxic comments using natural language processing models.
3
+
4
+ ### _Installation Instructions:_
5
+ 1. Download Docker Desktop
6
+ 2. Update wsl2
7
+ 3. Create docker file
8
+ 4. Create requirements.txt file derived from venv
9
+ 5. Modify Dockerfile to install all required packages
10
+ 6. Create .dockerignore to exclude venv, etc.
11
+ 7. Build docker image
12
+ 8. Rund docker container
13
+
14
+ ### _Docker Installation Proof:_
15
+ ![Docker Container Proof](docs/images/dockerContainerProof.png)
docs/images/dockerContainerProof.png ADDED
requirements.txt ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ numpy==1.24.2
2
+ pandas==1.5.3
3
+ python-dateutil==2.8.2
4
+ pytz==2023.3
5
+ six==1.16.0
src/test.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ import pandas as pd
2
+ import numpy as np
3
+ print("Hello From Docker")