Files
rfd-fyi/backend/Dockerfile
renovate[bot] 8184d1746f Update docker/dockerfile Docker tag to v1.21 (#321)
* Update docker/dockerfile Docker tag to v1.21

* Update Dockerfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dave Gallant <davegallant@proton.me>
2026-01-24 08:19:04 -05:00

17 lines
256 B
Docker

# syntax=docker/dockerfile:1.21
FROM cgr.dev/chainguard/go:latest AS build
WORKDIR /src
COPY . /src
RUN CGO_ENABLED=0 go build -o backend .
FROM cgr.dev/chainguard/static:latest
COPY --from=build /src/backend /backend
EXPOSE 8080
CMD [ "/backend" ]