mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
test switching slim bullseye to bullseye
This commit is contained in:
parent
9c1b60a77f
commit
29bd2dbd67
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
# Pull base image
|
# Pull base image
|
||||||
FROM arm64v8/python:3.10.12-slim-bullseye as build-image
|
FROM arm64v8/python:3.10.12-bullseye as build-image
|
||||||
|
|
||||||
# Set environment variables
|
# Set environment variables
|
||||||
ENV PYTHONDONTWRITEBYTECODE 1
|
ENV PYTHONDONTWRITEBYTECODE 1
|
||||||
|
|
@ -13,7 +13,7 @@ WORKDIR var/task/Model
|
||||||
|
|
||||||
# Install python dependencies
|
# Install python dependencies
|
||||||
COPY ./backend/requirements/base.txt ./backend/requirements/base.txt
|
COPY ./backend/requirements/base.txt ./backend/requirements/base.txt
|
||||||
#RUN pip install --upgrade pip
|
RUN pip install --upgrade pip
|
||||||
# Install and clean up temp caches
|
# Install and clean up temp caches
|
||||||
RUN pip install -r backend/requirements/base.txt && rm -rf /root/.cache
|
RUN pip install -r backend/requirements/base.txt && rm -rf /root/.cache
|
||||||
|
|
||||||
|
|
@ -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 arm64v8/python:3.10.12-slim-bullseye
|
FROM arm64v8/python:3.10.12-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