Skip to content

open-jdk-17 not working #8

Description

@artidixit380

FROM eclipse-temurin:17-jdk

WORKDIR /app

here we create folder in container

COPY . /app
#copy data from host to conatiner folder

RUN javac src/Main.java
#here we compile java code first

Run the Java application when the container starts

CMD ["java", "Main]

please add this docker file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions