Merge pull request #155 from Hestia-Homes/main

using arm64 base image
This commit is contained in:
KhalimCK 2023-08-24 15:53:16 +01:00 committed by GitHub
commit 577841d79e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# Pull base image
FROM python:3.10.12-slim-buster as build-image
FROM arm64v8/python:3.10.12-slim-bullseye as build-image
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
@ -24,7 +24,7 @@ RUN pip install -r backend/requirements/base.txt && rm -rf /root/.cache
RUN pip install awslambdaric
# Second stage: "runtime-image"
FROM python:3.10.12-slim-buster
FROM arm64v8/python:3.10.12-slim-bullseye
# Set work directory to the root of your project
WORKDIR /var/task/Model