Add Documentation Copy Step in Dockerfile
- Added a step in the Dockerfile to copy the documentation files from the build stage to the final image. - This change ensures that the documentation is included in the Docker image, improving accessibility for users and developers.
This commit is contained in:
@@ -17,6 +17,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY --from=go-builder /app/web-build .
|
COPY --from=go-builder /app/web-build .
|
||||||
COPY --from=go-builder /app/cmd/web/assets ./assets
|
COPY --from=go-builder /app/cmd/web/assets ./assets
|
||||||
|
COPY --from=go-builder /app/cmd/web/docs ./docs
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user