Skip to content

open-jdk-17 not working #8

@artidixit380

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

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