Commit e1b5f31 1 parent 7d922b4 commit e1b5f31 Copy full SHA for e1b5f31
File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,14 @@ FROM --platform=linux/arm64/v8 kumatea/tensorflow:2.4.1-py39 AS base
4
4
WORKDIR foocars
5
5
ENV READTHEDOCS=True
6
6
# TODO: use the get poetry install script
7
- RUN pip3 install --upgrade poetry
7
+ RUN pip3 install --upgrade pip poetry
8
8
RUN poetry config virtualenvs.create false
9
9
10
10
# From the base get the cargenerator
11
11
FROM base AS cargenerator
12
12
COPY ./cargenerator /foocars/cargenerator
13
+ COPY ./tests /foocars/tests
14
+
13
15
WORKDIR /foocars/cargenerator
14
16
15
17
RUN poetry install
@@ -23,12 +25,12 @@ RUN apt update && apt install -y \
23
25
RUN pip install h5py
24
26
25
27
COPY ./cars/carservices /foocars/cars/carservices
28
+ COPY ./tests /foocars/tests
29
+
26
30
WORKDIR /foocars/cars/carservices/
27
31
28
32
RUN poetry install
29
33
COPY --from=cargenerator /foocars/cars/chiaracer /foocars/cars/chiaracer
30
- # ENTRYPOINT ["python3"]
31
- # CMD ["/usr/local/bin/car_runner"]
32
-
33
- ENTRYPOINT ["/bin/bash" ]
34
- # CMD ["/usr/local/bin/car_runner"]
34
+ ENTRYPOINT ["python3" ]
35
+ CMD ["/usr/local/bin/car_runner" ]
36
+ # ENTRYPOINT ["/bin/bash"]
You can’t perform that action at this time.
0 commit comments