refined-addition-53644
12/16/2021, 1:24 PM3rdparty
. Just this
FROM public.ecr.aws/lambda/python:3.9
RUN yum -y install gcc
COPY ./3rdparty/requirements.txt .
RUN python3 -m ensurepip \
&& pip install --no-cache-dir -r requirements.txt
I keep getting this error
> [3/4] COPY ./3rdparty/requirements.txt .:
------
failed to compute cache key: "/3rdparty/requirements.txt" not found: not found
refined-addition-53644
12/16/2021, 1:25 PM.
├── 3rdparty
│ ├── BUILD
│ └── requirements.txt
├── BUILD
├── docker
│ └── pyfleet-vehicle-spec
│ ├── BUILD
│ ├── docker-compose.yaml
│ └── Dockerfile_dev
├── mypy.ini
├── pants
├── pants.ci.toml
├── pants.toml
├── pyproject.toml
├── README.md
├── requirements.txt
└── src
└── pyfleet-vehicle-spec/
refined-addition-53644
12/16/2021, 1:27 PMsrc/pyfleet-vehicle-spec
failsrefined-addition-53644
12/16/2021, 1:28 PMdocker_image(
name="pyfleet-vehicle-spec-dev",
source="Dockerfile_dev",
dependencies=["src/pyfleet-vehicle-spec:pyfleet-vehicle-spec-dist"],
description="dev docker image",
)
curved-television-6568
12/16/2021, 1:44 PMfiles
target that includes requirements.txt
from what I can see… ?curved-television-6568
12/16/2021, 1:44 PMrequirements.txt
in the docker build context..curved-television-6568
12/16/2021, 1:45 PMrefined-addition-53644
12/16/2021, 1:56 PMdependencies=["src/pyfleet-vehicle-spec:pyfleet-vehicle-spec-dist"],
Which has dependency on the requirements.txtrefined-addition-53644
12/16/2021, 1:57 PMrefined-addition-53644
12/16/2021, 1:58 PMrefined-addition-53644
12/16/2021, 2:07 PMcurved-television-6568
12/16/2021, 2:33 PMfiles
dependencies that gets included, along with packaged
pex binaries, into the build context.busy-vase-39202
12/16/2021, 4:42 PM