Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ COPY build/src_openvpn .
RUN yarn run build
RUN node injectToHtml

FROM nginx:1.12-alpine
FROM nginx:1.17-alpine
RUN mkdir -p /usr/www/adminui && mkdir -p /usr/www/openvpn && mkdir -p /usr/www/openvpn/cred
COPY --from=build-deps-adminui /usr/src/app/build /usr/www/adminui
COPY --from=build-deps-openvpn /usr/src/app/build /usr/www/openvpn
Expand Down
2 changes: 1 addition & 1 deletion build/src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"scripts": {
"start": "react-scripts start",
"dev": "REACT_APP_MOCK_DATA=true yarn start",
"build": "react-scripts build",
"build": "react-scripts --max_old_space_size=3800 build",
"gzip": "gzip -r -k build",
"test": "TEST=true react-scripts test --env=jsdom",
"eject": "react-scripts eject",
Expand Down
2 changes: 1 addition & 1 deletion build/src_openvpn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "react-scripts --max_old_space_size=3800 build",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"predeploy": "npm run build",
Expand Down