mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +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
|
||||
FROM arm64v8/python:3.10.12-slim-bullseye as build-image
|
||||
FROM arm64v8/python:3.10.12-bullseye as build-image
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
|
|
@ -13,7 +13,7 @@ WORKDIR var/task/Model
|
|||
|
||||
# Install python dependencies
|
||||
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
|
||||
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
|
||||
|
||||
# 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
|
||||
WORKDIR /var/task/Model
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue