update dockerfile for webdav
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user