Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
620dd31121 |
No files matched your search
@@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
id: push
|
id: push
|
||||||
uses: docker/build-push-action@cfed4e995e12d7bee5002f066f5649e5f1cc059c
|
uses: docker/build-push-action@2a53c6ccda456d31fb62eedc658aae06e238b7bd
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
# Python 3.11
|
# Python 3.11
|
||||||
FROM python@sha256:091e0f5da680e5c972c59cb7eca172141bb6350045b592c284e2fd3bf2916dd9 as build
|
FROM python@sha256:ad26bf20080f6b43a7f10020201fb95a678445be9040c111e034d86dc0c80d71 as build
|
||||||
|
|
||||||
# Install OS dependencies
|
# Install OS dependencies
|
||||||
RUN apt-get update && apt-get install -y build-essential curl
|
RUN apt-get update && apt-get install -y build-essential curl
|
||||||
@@ -18,7 +18,7 @@ RUN /root/.cargo/bin/uv venv /opt/venv && \
|
|||||||
/root/.cargo/bin/uv pip install --no-cache -r requirements.txt
|
/root/.cargo/bin/uv pip install --no-cache -r requirements.txt
|
||||||
|
|
||||||
# Python 3.11-slim-bookworm app image
|
# Python 3.11-slim-bookworm app image
|
||||||
FROM python@sha256:fc39d2e68b554c3f0a5cb8a776280c0b3d73b4c04b83dbade835e2a171ca27ef
|
FROM python@sha256:ad26bf20080f6b43a7f10020201fb95a678445be9040c111e034d86dc0c80d71
|
||||||
|
|
||||||
# Copy the virtual environment from the previous image
|
# Copy the virtual environment from the previous image
|
||||||
COPY --from=build /opt/venv /opt/venv
|
COPY --from=build /opt/venv /opt/venv
|
||||||
|
|||||||
Reference in new issue
Block a user