Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
49 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -141,3 +141,4 @@ cython_debug/ | |
.aws_credentials | ||
config.ini | ||
ppt/ | ||
users/mail.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM amancevice/pandas | ||
|
||
ENV TZ=Asia/Taipei | ||
RUN apt-get update -y | ||
RUN apt-get install xfonts-utils -y | ||
RUN wget https://www.twfont.com/chinese/font/TaipeiSans.ttf | ||
RUN cp *.ttf /usr/share/fonts/truetype && cd /usr/share/fonts/truetype | ||
RUN mkfontscale && mkfontdir && fc-cache | ||
|
||
WORKDIR /source_code | ||
RUN mkdir pics libs ppt | ||
COPY requirements.txt config.ini main.py /source_code | ||
COPY ./libs /source_code/libs/ | ||
RUN pip install -r requirements.txt | ||
CMD ["python", "main.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
asana==4.0.11 | ||
certifi==2023.7.22 | ||
kaleido==0.2.1 | ||
lxml==4.9.3 | ||
numpy==1.25.2 | ||
packaging==23.1 | ||
pandas==2.1.0 | ||
Pillow==9.5.0 | ||
plotly==5.17.0 | ||
python-dateutil==2.8.2 | ||
python-pptx==0.6.22 | ||
pytz==2023.3.post1 | ||
six==1.16.0 | ||
tenacity==8.2.3 | ||
tzdata==2023.3 | ||
urllib3==2.0.4 | ||
XlsxWriter==3.1.3 |