aswi2022code-of-duty-gitlab/backend/Dockerfile @ 5e8514b8
1 |
FROM adoptopenjdk/openjdk11:jdk-11.0.2.9-slim |
---|---|
2 |
WORKDIR /opt |
3 |
ENV PORT 8080 |
4 |
EXPOSE 8080 |
5 |
COPY target/*.jar /opt/app.jar |
6 |
ENTRYPOINT exec java $JAVA_OPTS -jar app.jar |