Dockerized repository.

This commit is contained in:
Bhavanvir Rai
2023-04-06 22:31:44 -07:00
parent 1c92d3f5c0
commit 0089b419a3
6 changed files with 47 additions and 6 deletions

0
.dockerignore Normal file
View File

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
# Ignore all pycache files
*.pyc

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM python:3.10
ENV PYTHONUNBUFFERED=1
WORKDIR /code
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
ENTRYPOINT [ "python", "manage.py"]
CMD ["runserver", "0.0.0.0:8000"]

View File

Binary file not shown.

8
docker-compose.yml Normal file
View File

@@ -0,0 +1,8 @@
version: '3.9'
services:
django:
image: marketscrape:0.0.1
build: .
ports:
- "8000:8000"

View File

@@ -1,6 +1,21 @@
beautifulsoup4==4.11.1
currency_converter==0.5.5
CurrencyConverter==0.17.1
nltk==3.7
numpy==1.20.2
requests==2.25.0
asgiref==3.6.0
beautifulsoup4==4.12.1
bs4==0.0.1
certifi==2022.12.7
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
crispy-bootstrap5==0.7
Django==4.2
django-crispy-forms==2.0
idna==3.4
joblib==1.2.0
nltk==3.8.1
numpy==1.24.2
regex==2023.3.23
requests==2.28.2
soupsieve==2.4
sqlparse==0.4.3
tqdm==4.65.0
tzdata==2023.3
urllib3==1.26.15