7 lines
285 B
Docker
7 lines
285 B
Docker
FROM maven:3.9-amazoncorretto-17
|
|
WORKDIR /app
|
|
COPY /src/test/java/com/baeldung/setenvironment/SettingDockerEnvironmentVariableUnitTest.java \
|
|
./src/test/java/com/baeldung/setenvironment/
|
|
COPY /docker-pom.xml ./
|
|
ENV CUSTOM_DOCKER_ENV_VARIABLE=TRUE
|
|
ENTRYPOINT mvn -f docker-pom.xml test |