Docker: Fix asset copy step to copy from the correct directory (#33)

Assets were moved from the `assets` folder to the `web/assets` folder in
commit 7204ae2e19 but the `Dockerfile` has
not been adjusted to copy from there.
This commit is contained in:
Axel Gembe 2021-10-17 20:51:13 +07:00 committed by GitHub
parent 2583e5113a
commit 158e37d3ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ FROM alpine:3.9
RUN apk add ca-certificates RUN apk add ca-certificates
WORKDIR /app WORKDIR /app
COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/speedtest . COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/speedtest .
COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/assets ./assets COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/web/assets ./assets
COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/settings.toml . COPY --from=build_base /go/src/github.com/librespeed/speedtest-go/settings.toml .
EXPOSE 8989 EXPOSE 8989