mirror of
https://github.com/Marketscrape/marketscrape-web.git
synced 2025-12-23 22:17:56 -05:00
Dockerized repository.
This commit is contained in:
0
.dockerignore
Normal file
0
.dockerignore
Normal file
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Ignore all pycache files
|
||||
*.pyc
|
||||
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
||||
BIN
db.sqlite3
BIN
db.sqlite3
Binary file not shown.
8
docker-compose.yml
Normal file
8
docker-compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
django:
|
||||
image: marketscrape:0.0.1
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user