From 3452dee1b0c22d86d4b54a23f7cf81b4aff5b810 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Tue, 19 Oct 2021 12:05:15 -0400 Subject: [PATCH] Add jsconfig to frontend container The eslint and jsconfig files are needed to start the dev server. Without the jsconfig, the ui development server can't resolve src modules and will fail to start. --- awx/ui/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/awx/ui/Dockerfile b/awx/ui/Dockerfile index 55921d7be0..96ccf678fc 100644 --- a/awx/ui/Dockerfile +++ b/awx/ui/Dockerfile @@ -5,10 +5,13 @@ ARG TARGET='https://awx:8043' ENV TARGET=${TARGET} ENV CI=true WORKDIR /ui +ADD .eslintignore .eslintignore +ADD .eslintrc .eslintrc +ADD .linguirc .linguirc +ADD jsconfig.json jsconfig.json ADD public public ADD package.json package.json ADD package-lock.json package-lock.json -ADD .linguirc .linguirc COPY ${NPMRC_FILE} .npmrc RUN npm install ADD src src