Modify `Dockerfile`.

This commit is contained in:
Kazuhiro MUSASHI 2024-08-11 20:44:50 +09:00
parent f3bca76866
commit 5a0f9cd399
1 changed files with 6 additions and 4 deletions

View File

@ -1,9 +1,11 @@
FROM alpine:latest FROM ubuntu:24.04
RUN apk add --no-cache libc6-compat tzdata chromium && \ RUN apt update && apt install -y wget
cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime && \
apk del tzdata WORKDIR /tmp
RUN wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && apt install -y ./google-chrome-stable_current_amd64.deb
ADD ./moneyforward /usr/local/bin/moneyforward ADD ./moneyforward /usr/local/bin/moneyforward
CMD ["/usr/local/bin/moneyforward"] CMD ["/usr/local/bin/moneyforward"]