File tree Expand file tree Collapse file tree 2 files changed +81
-0
lines changed
Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM docker.io/condaforge/mambaforge@sha256:a119fe148b8a276397cb7423797f8ee82670e64b071dc39c918b6c3513bd0174
2+
3+ RUN bin/bash
4+ EXPOSE 5000
5+ # # Creating the new conda environment with the desired packages using mamba
6+ WORKDIR /opt
7+ COPY environment.yml .
8+ RUN mamba env create -f environment.yml
9+ RUN echo "conda activate amazing_python_script" >> ~/.bashrc
10+
11+ # COPYING THE RELEVANT FILES
12+ COPY static /opt/static
13+ COPY templates /opt/templates
14+ COPY main.py /opt/main.py
15+ COPY scrapper.py /opt/scrapper.py
16+
17+ # Starting the server
18+ ENTRYPOINT ["/opt/conda/envs/amazing_python_script/bin/python" ,"-u" , "/opt/main.py" ]
Original file line number Diff line number Diff line change 1+ name : amazing_python_script
2+ channels :
3+ - conda-forge
4+ - defaults
5+ - pypi
6+ dependencies :
7+ - _libgcc_mutex=0.1
8+ - _openmp_mutex=4.5
9+ - bzip2=1.0.8
10+ - ca-certificates=2022.12.7
11+ - ld_impl_linux-64=2.40
12+ - libffi=3.4.2
13+ - libgcc-ng=12.2.0
14+ - libgomp=12.2.0
15+ - libnsl=2.0.0
16+ - libsqlite=3.40.0
17+ - libuuid=2.38.1
18+ - libzlib=1.2.13
19+ - ncurses=6.3
20+ - openssl=3.1.0
21+ - pip=23.1.2
22+ - python=3.9.16
23+ - readline=8.2
24+ - setuptools=67.7.2
25+ - tk=8.6.12
26+ - tzdata=2023c
27+ - wheel=0.40.0
28+ - xz=5.2.6
29+ - pip :
30+ - async-generator==1.10
31+ - attrs==23.1.0
32+ - blinker==1.6.2
33+ - certifi==2022.12.7
34+ - charset-normalizer==3.1.0
35+ - click==8.1.3
36+ - dominate==2.7.0
37+ - exceptiongroup==1.1.1
38+ - flask==2.3.1
39+ - flask-bootstrap==3.3.7.1
40+ - flask-modals==0.5.1
41+ - flask-wtf==1.1.1
42+ - google-images-download==2.8.0
43+ - h11==0.14.0
44+ - idna==3.4
45+ - importlib-metadata==6.6.0
46+ - itsdangerous==2.1.2
47+ - jinja2==3.1.2
48+ - markupsafe==2.1.2
49+ - outcome==1.2.0
50+ - pysocks==1.7.1
51+ - requests==2.29.0
52+ - selenium==4.9.0
53+ - simple-image-download==0.2
54+ - sniffio==1.3.0
55+ - sortedcontainers==2.4.0
56+ - trio==0.22.0
57+ - trio-websocket==0.10.2
58+ - urllib3==1.26.15
59+ - visitor==0.1.3
60+ - werkzeug==2.3.2
61+ - wsproto==1.2.0
62+ - wtforms==3.0.1
63+ - zipp==3.15.0
You can’t perform that action at this time.
0 commit comments