mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-22 01:12:07 +00:00
Fix Dockerfile example in "Deploying" chapter
This now matches the layout of a typical project, instead of erroring out.
This commit is contained in:
parent
28891e8072
commit
599d5ee17f
@ -262,9 +262,9 @@ WORKDIR /app
|
||||
COPY --from=build /build/main ./
|
||||
|
||||
## copy runtime assets which may or may not exist
|
||||
COPY --from=build /build/Rocket.tom[l] ./static
|
||||
COPY --from=build /build/stati[c] ./static
|
||||
COPY --from=build /build/template[s] ./templates
|
||||
COPY --from=build /build/Rocket.tom[l] ./
|
||||
COPY --from=build /build/stati[c] ./static/
|
||||
COPY --from=build /build/template[s] ./templates/
|
||||
|
||||
## ensure the container listens globally on port 8080
|
||||
ENV ROCKET_ADDRESS=0.0.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user