Skip to content

Commit ec20790

Browse files
committed
update: dockerfile input src
1 parent 2a9bb1b commit ec20790

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
1515
WORKDIR /usr/local/app
1616

1717
# Copy the files into the working directory
18-
COPY . .
18+
COPY src/ .
1919

2020
# Set executable permissions for the trace script
2121
RUN chmod +x /usr/local/app/trace.sh

build/docker-bake.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
},
1212
"target": {
1313
"flap": {
14-
"context": "src",
15-
"dockerfile": "../build/Dockerfile",
14+
"context": ".",
15+
"dockerfile": "build/Dockerfile",
1616
"tags": ["ghcr.io/amirhnajafiz/flap:${TAG}"],
1717
"output": ["type=registry"]
1818
}

0 commit comments

Comments
 (0)