diff --git a/Dockerfile b/Dockerfile index 86ace98..e285289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN addgroup -g 1000 -S appgroup && \ WORKDIR /app # Copy binary from builder stage -COPY --from=builder /app/meshi /app/plan.xlsx . +COPY --from=builder /app/meshi . RUN mkdir assets COPY --from=builder /app/assets ./assets diff --git a/xlsx/main.go b/xlsx/main.go index 94a7b57..8c62874 100644 --- a/xlsx/main.go +++ b/xlsx/main.go @@ -14,7 +14,7 @@ type Plan = [7][3]struct { } func Load() (Plan, error) { - f, err := excelize.OpenFile("./plan.xlsx") + f, err := excelize.OpenFile("./data/plan.xlsx") defer func() { err := f.Close() if err != nil {