21 lines
475 B
Docker
21 lines
475 B
Docker
# @see https://github.com/1EdTech/digital-credentials-public-validator/tree/main
|
|
# Developer: Tested with Java 17 and Maven 3.8.6
|
|
FROM maven:3.8.6-openjdk-11-slim
|
|
|
|
# Define application dir
|
|
WORKDIR /app
|
|
|
|
# Copy sourcecode into application dir
|
|
COPY . /app
|
|
|
|
# Use maven to build the application
|
|
RUN mvn clean verify
|
|
|
|
# Expose network ports
|
|
EXPOSE 8080
|
|
|
|
# We want to start web service
|
|
WORKDIR /app/inspector-vc-web
|
|
|
|
# Start web application
|
|
ENTRYPOINT ["mvn", "spring-boot:run"] |