Mercurial > code > home > repos > gcalendarwatch
view Dockerfile @ 21:9eb6b4806272
timmzone fixes, especially on GET /events
author | drewp@bigasterisk.com |
---|---|
date | Mon, 08 Feb 2021 16:40:47 -0800 |
parents | a87969972d85 |
children | 8122ff3b0fe5 |
line wrap: on
line source
FROM ubuntu:focal RUN apt-get update ENV TZ=America/Los_Angeles ENV LANG=en_US.UTF-8 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata WORKDIR /opt RUN apt-get install -y python3-pip RUN apt-get install -y git COPY requirements.txt ./ RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -r requirements.txt # not sure why this doesn't work from inside requirements.txt #RUN pip3 install --index-url https://projects.bigasterisk.com/ --extra-index-url https://pypi.org/simple -U 'https://github.com/drewp/cyclone/archive/python3.zip?v2' COPY *.py *.conf *.html *.json ./ COPY credentials credentials EXPOSE 9105 CMD [ "python3", "gcalendarwatch.py", "-v" ]