Fix container config

pull/438/head
tessier 11 months ago
parent 50bccdb6fb
commit bdb6590430

@ -1,5 +1,5 @@
# use latest python alphine image. # use latest python alpine image.
FROM python:rc-alpine3.12 FROM python:3.12.6-alpine3.20
# install system dependencies. # install system dependencies.
RUN apk update && apk add --no-cache \ RUN apk update && apk add --no-cache \
@ -9,14 +9,14 @@ RUN apk update && apk add --no-cache \
RUN go get github.com/mingrammer/round RUN go get github.com/mingrammer/round
# install fonts # install fonts
RUN curl -O https://noto-website.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip \ RUN curl -O https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJKjp-hinted.zip \
&& mkdir -p /usr/share/fonts/NotoSansCJKjp \ && mkdir -p /usr/share/fonts/NotoSansCJKjp \
&& unzip NotoSansCJKjp-hinted.zip -d /usr/share/fonts/NotoSansCJKjp/ \ && unzip NotoSansCJKjp-hinted.zip -d /usr/share/fonts/NotoSansCJKjp/ \
&& rm NotoSansCJKjp-hinted.zip \ && rm NotoSansCJKjp-hinted.zip \
&& fc-cache -fv && fc-cache -fv
# add go bin to path. # add go bin to path.
ENV PATH "$PATH:/root/go/bin" ENV PATH="$PATH:/root/go/bin"
# project directory. # project directory.
WORKDIR /usr/src/diagrams WORKDIR /usr/src/diagrams

Loading…
Cancel
Save