Files
netneutrality/Dockerfile
T
2026-03-09 03:06:16 -04:00

14 lines
325 B
Docker

FROM docker.io/library/eclipse-temurin:25-jre
RUN apt-get update && apt-get install -y --no-install-recommends netcat-openbsd curl && rm -rf /var/lib/apt/lists/*
WORKDIR /app
ARG API_PORT=9000
EXPOSE ${API_PORT}
COPY startup.sh ./
COPY target/netneutrality.jar ./
RUN ["chmod", "+x", "./startup.sh"]
CMD ["./startup.sh"]