Update Dockerfile to Correct Asset Copy Path
- Modified the Dockerfile to change the COPY command for web assets, ensuring the correct path is used to include assets from the cmd/web directory. This adjustment improves the organization and accessibility of web-related assets within the application.
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ RUN apk --no-cache add busybox-suid curl rsync tzdata tcpdump tree ca-certificat
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY --from=go-builder /app/web-build .
|
COPY --from=go-builder /app/web-build .
|
||||||
COPY --from=go-builder /app/web/assets ./assets
|
COPY --from=go-builder /app/cmd/web/assets ./assets
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user