aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-03-23 04:03:15 +0000
committerterminaldweller <thabogre@gmail.com>2022-03-23 04:03:15 +0000
commit63ad960e4a8f51486dd25eb61c9c5b0f74cacd81 (patch)
treee5127bede8e3bc7aea3811db0ee30797baf3dfbe /spring-front/Dockerfile
parentwip (diff)
downloadmdrtl-63ad960e4a8f51486dd25eb61c9c5b0f74cacd81.tar.gz
mdrtl-63ad960e4a8f51486dd25eb61c9c5b0f74cacd81.zip
wip
Diffstat (limited to '')
-rw-r--r--spring-front/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/spring-front/Dockerfile b/spring-front/Dockerfile
index 9993468..9bb7ca7 100644
--- a/spring-front/Dockerfile
+++ b/spring-front/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:lts-alpine3.13 as certbuilder
+FROM node:lts-alpine3.15 as certbuilder
RUN apk add openssl
WORKDIR /certs
RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert
@@ -10,7 +10,9 @@ COPY package.json ./
COPY package-lock.json ./
RUN npm ci
RUN npm install react-scripts -g
-COPY . ./
+# COPY . ./
+COPY ./public/ ./public/
+COPY ./src/ ./src/
RUN npm run build
FROM nginx:stable-alpine