Skip to content

Commit 55bb5a6

Browse files
authored
Merge branch 'main' into docs
2 parents 44a1635 + 867c385 commit 55bb5a6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

app/Dockerfile renamed to Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV RUNUSER=oracleaim
1010
RUN microdnf -y update
1111
RUN microdnf -y install python3.11 python3.11-pip
1212
RUN python3.11 -m venv --symlinks --upgrade-deps /opt/venv
13-
COPY ./requirements.txt /opt/requirements.txt
13+
COPY app/requirements.txt /opt/requirements.txt
1414
RUN source /opt/venv/bin/activate && \
1515
pip3 install --upgrade pip wheel setuptools && \
1616
pip3 install -r /opt/requirements.txt
@@ -25,10 +25,11 @@ ARG ENVIRONMENT
2525
ENV PATH=/opt/venv/bin:$PATH
2626

2727
#COPY THIRD_PARTY_LICENSES.txt /THIRD_PARTY_LICENSES.txt
28-
COPY entrypoint.sh /entrypoint.sh
28+
COPY app/entrypoint.sh /entrypoint.sh
2929
RUN chmod +x /entrypoint.sh
3030

31-
COPY --chown=$RUNUSER:$RUNUSER src/ /app/
31+
COPY --chown=$RUNUSER:$RUNUSER app/src/ /app/
32+
COPY --chown=$RUNUSER:$RUNUSER spring_ai/ /spring_ai/
3233
# Copy the OCI directory if it exists
3334
ENV ENVIRONMENT=${ENVIRONMENT}
3435
RUN if [ -d "/app/.oci" ] && [ "$ENVIRONMENT" != "development" ]; then \
@@ -40,4 +41,4 @@ RUN if [ -d "/app/.oci" ] && [ "$ENVIRONMENT" != "development" ]; then \
4041
USER $RUNUSER
4142
WORKDIR /app/
4243

43-
ENTRYPOINT ["/entrypoint.sh"]
44+
ENTRYPOINT ["/entrypoint.sh"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ To run the application in a container; download the [source](https://github.com/
7575

7676
1. Build the image.
7777

78-
From the `app/` directory, build Image:
78+
From the root of the project, build Image:
7979

8080
```bash
8181
podman build -t oaim-sandbox .

0 commit comments

Comments
 (0)