Fixed some issues found in the DockerCompose and DockerFile file resources in the library target.
This commit is contained in:
parent
a6ddfb557f
commit
17426f264a
@ -2,6 +2,6 @@ services:
|
|||||||
app:
|
app:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
port:
|
port:
|
||||||
- 3000:8080
|
- 3000:8080
|
||||||
command: ["--hostname", "0.0.0.0", "--port", "8080"]
|
command: ["--hostname", "0.0.0.0", "--port", "8080"]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# ================================
|
# ================================
|
||||||
# Build image
|
# Build image
|
||||||
# ================================
|
# ================================
|
||||||
FROM swift:6.0-noble as build
|
FROM swift:6.0.3-noble AS build
|
||||||
|
|
||||||
# Install OS updates
|
# Install OS updates
|
||||||
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
|
RUN export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true \
|
||||||
@ -83,5 +83,5 @@ USER hummingbird:hummingbird
|
|||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
|
|
||||||
# Start the Hummingbird service when the image is run, default to listening on 8080 in production environment
|
# 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"]
|
CMD ["--hostname", "0.0.0.0", "--port", "8080"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user