Answers for "building a dockerfile"

0

docker build from dockerfile

$ docker build - < Dockerfile
Posted by: Guest on May-11-2021
1

how to create docker image from custom filename

cat DockerFile.debian.foo | docker build -t debian.foo -
Posted by: Guest on September-06-2020
0

Simple Dockerfile

FROM openjdk:8-jdk-alpine
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]Copy
Posted by: Guest on June-09-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language