Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
PhongT16 committed Jul 27, 2023
1 parent 3841352 commit 1cfd213
Show file tree
Hide file tree
Showing 6 changed files with 439 additions and 371 deletions.
22 changes: 8 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@ FROM python:3
ENV TZ=America/Chicago
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

# COPY . /outlook_calendar_report_generator
# WORKDIR /outlook_calendar_report_generator
# RUN python -m pip install -r /outlook_calendar_report_generator/requirements.txt
RUN apt-get update -y \
&& apt-get install ssmtp -y \
&& echo mailhub=smtp-server >> /etc/ssmtp/ssmtp.conf \
&& echo FromLineOverride=YES >> /etc/ssmtp/ssmtp.conf \
&& apt-get clean

# RUN apt-get update -y
# RUN apt-get install ssmtp -y
# RUN echo mailhub=smtp-server >> /etc/ssmtp/ssmtp.conf
# RUN echo FromLineOverride=YES >> /etc/ssmtp/ssmtp.conf
# RUN apt-get clean
# RUN apt-get update -y \
# && apt-get install ssmtp -y \
# && echo mailhub=smtp-server >> /etc/ssmtp/ssmtp.conf \
# && echo FromLineOverride=YES >> /etc/ssmtp/ssmtp.conf \
# && apt-get clean

RUN mkdir /home/vacation_calendar_sync

COPY . /vacation_calendar_sync
Expand All @@ -34,4 +26,6 @@ CMD ["bash"]

#CMD [ "python3 OutlookCalendar.py -s" ]

ENTRYPOINT [ "./entrypoint.sh" ]


Loading

0 comments on commit 1cfd213

Please sign in to comment.