Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cgeller authored Dec 19, 2023
1 parent a660837 commit 9fd5cb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ RUN pip3 install --upgrade pip
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10

# Install scenario_runner
COPY ./scenario_runner $SCENARIO_RUNNER_PATH
COPY . $SCENARIO_RUNNER_PATH
RUN pip3 install -r $SCENARIO_RUNNER_PATH/requirements.txt

# Copy over PythonAPI
COPY ./artifacts/PythonAPI ${CARLA_API_PATH}
# Move over PythonAPI
RUN mv $SCENARIO_RUNNER_PATH/artifacts/PythonAPI ${CARLA_API_PATH}

# Recursively install PythonAPI requirements, keep version of first occurrence
RUN cat $(find ${CARLA_API_PATH} -type f -name "requirements.txt") > /tmp/requirements_raw.txt \
Expand Down Expand Up @@ -59,7 +59,7 @@ ENV WORKSPACE=${WORKSPACE}
WORKDIR ${WORKSPACE}

# Set entrypoint
COPY ./scenario_runner/docker/entrypoint.sh /
COPY ./docker/entrypoint.sh /
ENTRYPOINT [ "/entrypoint.sh" ]

CMD [ "python3", "scenario_runner.py", "--help" ]

0 comments on commit 9fd5cb5

Please sign in to comment.