Skip to content

Commit 93a8cfa

Browse files
committed
fix: minor build fixes
1 parent 334cbd8 commit 93a8cfa

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

build/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ COPY --from=base /usr/lib/ /usr/lib/
8282
COPY --from=base /ChargePi/src/ChargePi /usr/bin/ChargePi
8383

8484
# Copy the UI static files
85-
COPY --from=build-ui /ui/build/* /usr/bin/ui/build/*
85+
COPY --from=build-ui /ui/build /usr/bin/ui/build
8686

8787
EXPOSE 8080
8888
HEALTHCHECK --interval=5s --timeout=3s CMD curl --fail http://localhost:8081/healthz || exit 1
8989

90-
ENTRYPOINT ["ChargePi"]
91-
CMD ["-c", "/etc/ChargePi/configs/config.yaml", "run"]
90+
ENTRYPOINT ["ChargePi", "-c", "/etc/ChargePi/configs/config.yaml", "run"]

deployments/docker/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.7'
22
services:
33
chargepi:
44
build:
5-
dockerfile: ../../build/Dockerfile
5+
dockerfile: ./build/Dockerfile
66
context: ../..
77
target: chargepi
88
restart: always

0 commit comments

Comments
 (0)