view Dockerfile @ 26:c1eac229b355

to pdm
author drewp@bigasterisk.com
date Sun, 24 Jul 2022 00:57:21 -0700
parents 8122ff3b0fe5
children 6f0b31ac587e
line wrap: on
line source

FROM docker.io/ubuntu:jammy
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

RUN apt-get install -y python3-pip git curl
RUN pip3 install pdm

WORKDIR /opt

COPY pyproject.toml pdm.lock ./
RUN pdm install

COPY *.py *.conf *.html *.json ./
COPY credentials credentials