website/api/Dockerfile
dependabot[bot] 744a114ac9
Bump golang from 1.22.5 to 1.22.6 in /api
Bumps golang from 1.22.5 to 1.22.6.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-12 09:29:02 +00:00

24 lines
330 B
Docker

FROM golang:1.22.6
WORKDIR /app
COPY *.go ./
COPY *.mod ./
COPY *.sum ./
COPY Makefile ./
COPY routes ./routes
COPY global ./global
COPY database ./database
COPY util ./util
EXPOSE 7001
RUN make
ARG PASSWORD
ENV PASSWORD $PASSWORD
ARG FRONTEND_URL
ENV FRONTEND_URL $FRONTEND_URL
ENTRYPOINT ["/app/server"]