From abd835a851c6c86bfde00ff40c634d2532d83873 Mon Sep 17 00:00:00 2001 From: HyunsuChoi <mysj923@ajou.ac.kr> Date: Fri, 21 Jul 2023 23:50:18 +0900 Subject: [PATCH] docker --- Dockerfile | 5 +++++ src/main/resources/public/app.bundle.js => app.bundle.js | 0 src/main/resources/public/index.html => index.html | 0 3 files changed, 5 insertions(+) create mode 100644 Dockerfile rename src/main/resources/public/app.bundle.js => app.bundle.js (100%) rename src/main/resources/public/index.html => index.html (100%) diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b60e176 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM nginx +COPY index.html /usr/share/nginx/html/index.html +COPY app.bundle.js usr/share/nginx/html/app.bundle.js +CMD ["nginx", "-g", "daemon off;"] +EXPOSE 80 \ No newline at end of file diff --git a/src/main/resources/public/app.bundle.js b/app.bundle.js similarity index 100% rename from src/main/resources/public/app.bundle.js rename to app.bundle.js diff --git a/src/main/resources/public/index.html b/index.html similarity index 100% rename from src/main/resources/public/index.html rename to index.html -- GitLab