iptfreedom/docker/server.Dockerfile

15 lines
381 B
Text
Raw Normal View History

2023-06-09 10:48:58 -04:00
FROM ghcr.io/paradigmmc/mcman:latest as builder
WORKDIR /server
COPY . .
RUN mcman build
FROM eclipse-temurin:17-alpine
RUN addgroup -S server && adduser -S server -G server
2023-06-18 19:01:45 -04:00
RUN apk add --no-cache su-exec rsync libstdc++
2023-06-09 10:48:58 -04:00
2023-06-09 16:58:29 -04:00
COPY --from=builder /server/server/ /server_tomerge
2023-06-09 10:48:58 -04:00
VOLUME /server
WORKDIR /server
COPY ./docker/entrypoint.sh /entrypoint.sh
ENTRYPOINT [ "/entrypoint.sh" ]