From 8f85edd7bf69eff6358eaf0fe965f60248976978 Mon Sep 17 00:00:00 2001 From: zbwxp Date: Sun, 17 Mar 2024 14:18:54 +0800 Subject: [PATCH] fix --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c458ac9..a84e3bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ -FROM python:3.9-slim +FROM --platform=linux/arm64/v8 ubuntu:latest + +# Install necessary dependencies +RUN apt-get update && \ + apt-get install -y python3.10 python3-pip -ENV DEBIAN_FRONTEND=noninteractive -ENV TZ=Australia/Adelaide -RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \