From 17426f264ac0dd5d8b149cb3a55d7a3fc8d17212 Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sat, 22 Feb 2025 00:17:10 +0100 Subject: [PATCH] Fixed some issues found in the DockerCompose and DockerFile file resources in the library target. --- Library/Resources/Files/Sources/DockerCompose | 6 +++--- Library/Resources/Files/Sources/DockerFile | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Library/Resources/Files/Sources/DockerCompose b/Library/Resources/Files/Sources/DockerCompose index 6ea4b20..8994020 100644 --- a/Library/Resources/Files/Sources/DockerCompose +++ b/Library/Resources/Files/Sources/DockerCompose @@ -2,6 +2,6 @@ services: app: build: context: . - port: - - 3000:8080 - command: ["--hostname", "0.0.0.0", "--port", "8080"] + port: + - 3000:8080 + command: ["--hostname", "0.0.0.0", "--port", "8080"] diff --git a/Library/Resources/Files/Sources/DockerFile b/Library/Resources/Files/Sources/DockerFile index a20ddca..e6cf30a 100644 --- a/Library/Resources/Files/Sources/DockerFile +++ b/Library/Resources/Files/Sources/DockerFile @@ -1,7 +1,7 @@ # ================================ # Build image # ================================ -FROM swift:6.0-noble as build +FROM swift:6.0.3-noble AS build # Install OS updates RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \ @@ -83,5 +83,5 @@ USER hummingbird:hummingbird EXPOSE 8080 # Start the Hummingbird service when the image is run, default to listening on 8080 in production environment -ENTRYPOINT ["./App] +ENTRYPOINT ["./App"] CMD ["--hostname", "0.0.0.0", "--port", "8080"]