]> git.openfl.eu Git - yampl.git/commitdiff
put executable under /src main
authorFl_GUI <flor.guilini@hotmail.com>
Sat, 26 Apr 2025 11:09:46 +0000 (13:09 +0200)
committerFl_GUI <flor.guilini@hotmail.com>
Sat, 26 Apr 2025 11:09:46 +0000 (13:09 +0200)
Containerfile

index a0e70adcc6cd8b671e3d741a10061effcb903eb0..fa072bfd3805de17328a7f75d8731eace22b933b 100644 (file)
@@ -14,6 +14,6 @@ EXPOSE 8080
 VOLUME ["/app/static", "/app/templates", "/app/toml"]
 
 WORKDIR /app
-COPY --from=build /go/bin/yampl /app/yampl
-ENTRYPOINT ["/app/yampl", "-static", "/app/static", "-templ", "/app/templates", "-toml"]
+COPY --from=build /go/bin/yampl /src/yampl
+ENTRYPOINT ["/src/yampl", "-static", "/app/static", "-templ", "/app/templates", "-toml"]
 CMD ["project.toml"]