website/api/Dockerfile
dependabot[bot] ff118f31e8
Bump golang from 1.23.1 to 1.23.2 in /api
Bumps golang from 1.23.1 to 1.23.2.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-07 10:02:34 +00:00

18 lines
244 B
Docker

FROM golang:1.23.2
WORKDIR /app
COPY *.go ./
COPY *.mod ./
COPY *.sum ./
COPY Makefile ./
COPY routes ./routes
COPY config ./config
COPY database ./database
COPY util ./util
EXPOSE 7001
RUN make
ENTRYPOINT ["/app/server"]