Skip to content
Snippets Groups Projects
Commit 98420b07 authored by KIEU Thi phuong's avatar KIEU Thi phuong
Browse files

update Dockerfile

parent 2932c49b
No related branches found
No related tags found
No related merge requests found
......@@ -123,9 +123,9 @@ FROM openjdk
COPY src hello-world/src
WORKDIR hello-world
RUN mkdir -p bin
RUN javac -d bin ./main.java
RUN javac -d bin ./src/main.java
WORKDIR bin
CMD ["java", "main.java"]
CMD ["java", "main"]
```
**Note**: Make sure that the scripts is named exactly as `Dockerfile` or `dockerfile`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment