-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4917 from jakemcdermott/ui-next-ci
Tune webpack config and add Dockerfile Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
- Loading branch information
Showing
4 changed files
with
35 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM node:10 | ||
ARG NPMRC_FILE=.npmrc | ||
ENV NPMRC_FILE=${NPMRC_FILE} | ||
ARG TARGET_HOST='awx' | ||
ENV TARGET_HOST=${TARGET_HOST} | ||
ARG TARGET_PORT=8043 | ||
ENV TARGET_PORT=${TARGET_PORT} | ||
WORKDIR /ui_next | ||
ADD build build | ||
ADD dist dist | ||
ADD images images | ||
ADD package.json package.json | ||
ADD package-lock.json package-lock.json | ||
COPY ${NPMRC_FILE} .npmrc | ||
RUN npm install | ||
ADD babel.config.js babel.config.js | ||
ADD webpack.config.js webpack.config.js | ||
ADD src src | ||
EXPOSE 3001 | ||
CMD [ "npm", "run", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters