SimpleCloudNotifier/scnserver/Dockerfile

21 lines
263 B
Docker
Raw Normal View History

2023-05-28 16:03:14 +02:00
FROM golang as builder
WORKDIR /repo
COPY . /repo
RUN make build
FROM debian:bookworm
2023-05-28 16:03:14 +02:00
COPY --from=builder /repo/_build/scn_backend /app/scnserver
COPY DOCKER_GIT_INFO /app/DOCKER_GIT_INFO
RUN mkdir /data
WORKDIR /app
EXPOSE 80
CMD ["/app/scnserver"]