Skip to content

V2 error - open /tmp/multipart-146208408: no such file or directory #48

Open
@4563453

Description

@4563453

Hello,

running your new version I get this error:

app-1 | 2025/05/25 17:49:19 failed to obtain form file: open /tmp/multipart-146208408: no such file or directory

I fixed this adding the last command line to Dockerfile:

ARG ARCH=amd64
FROM golang:1.21 AS build

LABEL org.opencontainers.image.authors="Mei Akizuru <[email protected]>"

RUN mkdir -p /go/src/app
WORKDIR /go/src/app

# resolve dependency before copying whole source code
COPY go.mod go.sum ./
RUN go mod download

# copy other sources & build
COPY . /go/src/app
RUN GOOS=linux GOARCH=${ARCH} CGO_ENABLED=0 go build -o /go/bin/app

FROM scratch
COPY --from=build /go/bin/app /usr/local/bin/app
COPY --from=build /tmp /tmp
ENTRYPOINT ["/usr/local/bin/app"]

Please update your docker image, upload seems not possible without this fix.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions