mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-30 13:10:47 +00:00
using arm64 base image
This commit is contained in:
parent
363a6887a9
commit
809a4d6a6c
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Pull base image
|
# 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
|
# Set environment variables
|
||||||
ENV PYTHONDONTWRITEBYTECODE 1
|
ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
|
|
@ -24,7 +24,7 @@ RUN pip install -r backend/requirements/base.txt && rm -rf /root/.cache
|
||||||
RUN pip install awslambdaric
|
RUN pip install awslambdaric
|
||||||
|
|
||||||
# Second stage: "runtime-image"
|
# 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
|
# Set work directory to the root of your project
|
||||||
WORKDIR /var/task/Model
|
WORKDIR /var/task/Model
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue