root: attempt to build static image without django's collectstatic (#360)
* root: attempt to build static image without django's collectstatic * web: move static dockerfile to /web * web: fix dockerfile path * web: improve image size by not copying node_modules
This commit is contained in:
@ -9,6 +9,10 @@ import copy from "rollup-plugin-copy";
|
||||
import externalGlobals from "rollup-plugin-external-globals";
|
||||
|
||||
const resources = [
|
||||
{ src: "node_modules/@patternfly/patternfly/patternfly.css", dest: "dist/" },
|
||||
{ src: "node_modules/@patternfly/patternfly/patternfly-addons.css", dest: "dist/" },
|
||||
{ src: "node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css", dest: "dist/" },
|
||||
{ src: "node_modules/@patternfly/patternfly/assets/*", dest: "dist/assets/" },
|
||||
{ src: "src/index.html", dest: "dist" },
|
||||
{ src: "src/passbook.css", dest: "dist" },
|
||||
{ src: "src/assets/*", dest: "dist/assets" },
|
||||
|
Reference in New Issue
Block a user