14 lines
379 B
Docker
14 lines
379 B
Docker
FROM eclipse-temurin:25-jre@sha256:ff82c74a630c08b417502c4c18189e62074edbb28eb1f2d31b799ac138c01058
|
|
|
|
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"] |