diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-23 04:03:15 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-23 04:03:15 +0000 |
commit | 63ad960e4a8f51486dd25eb61c9c5b0f74cacd81 (patch) | |
tree | e5127bede8e3bc7aea3811db0ee30797baf3dfbe /spring-front/Dockerfile | |
parent | wip (diff) | |
download | mdrtl-63ad960e4a8f51486dd25eb61c9c5b0f74cacd81.tar.gz mdrtl-63ad960e4a8f51486dd25eb61c9c5b0f74cacd81.zip |
wip
Diffstat (limited to '')
-rw-r--r-- | spring-front/Dockerfile | 6 |
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 |