Created
January 22, 2021 21:04
-
-
Save ShantanuJoshi/4078c382f4e24b5d654e1fe946f1a8da to your computer and use it in GitHub Desktop.
React App Dockerfile
This file contains hidden or 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
FROM node:14.2.0-alpine3.10 | |
WORKDIR /app | |
ENV PATH /app/node_modules/.bin:$PATH | |
COPY package.json ./ | |
RUN yarn install --production --silent | |
ENV CI=true | |
ENV HOST=0.0.0.0 | |
COPY public ./public | |
COPY src ./src | |
COPY . /app | |
EXPOSE 3000 | |
CMD ["yarn", "start"] |
This file contains hidden or 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
{ | |
"name": "lume-cinex", | |
"version": "0.1.0", | |
"private": true, | |
"scripts": { | |
"clean": "rm -rf build && mkdir build", | |
"start": "react-scripts start", | |
"build": "react-scripts build", | |
"test": "react-scripts test", | |
"eject": "react-scripts eject", | |
"storybook": "start-storybook -s ./.storybook/static -p 4000", | |
"build-storybook": "build-storybook -s ./.storybook/static -o dist" | |
}, | |
"dependencies": { | |
"@apollo/client": "^3.2.7", | |
"@auth0/auth0-react": "^1.2.0", | |
"@babel/runtime": "^7.11.2", | |
"@hookform/resolvers": "^0.1.0", | |
"@material-ui/core": "^4.10.1", | |
"@material-ui/icons": "^4.9.1", | |
"@material-ui/lab": "^4.0.0-alpha.55", | |
"@material-ui/pickers": "^4.0.0-alpha.12", | |
"auth0-js": "^9.14.0", | |
"axios": "^0.19.2", | |
"classnames": "^2.2.3", | |
"create-react-app": "^2.1.8", | |
"google-map-react": "^2.1.3", | |
"graphql": "^15.4.0", | |
"json-to-graphql-query": "^2.0.0", | |
"lodash": "^4.17.20", | |
"moment": "^2.29.1", | |
"moment-timezone": "^0.5.32", | |
"query-string": "^6.13.7", | |
"react": "latest", | |
"react-dom": "latest", | |
"react-geocode": "^0.2.2", | |
"react-hook-form": "^6.14.2", | |
"react-https-redirect": "^1.1.0", | |
"react-router-dom": "latest", | |
"react-scripts": "^3.4.3", | |
"react-virtualized-auto-sizer": "^1.0.2", | |
"react-window": "^1.8.6", | |
"yup": "^0.32.8" | |
}, | |
"browserslist": [ | |
">0.2%", | |
"not dead", | |
"not ie <= 11", | |
"not op_mini all" | |
], | |
"devDependencies": { | |
"@storybook/addon-actions": "^5.3.21", | |
"@storybook/addon-info": "^5.3.21", | |
"@storybook/addon-knobs": "^5.3.21", | |
"@storybook/addon-links": "^5.3.21", | |
"@storybook/addon-notes": "^5.3.21", | |
"@storybook/addon-storysource": "^5.3.21", | |
"@storybook/addon-viewport": "^5.3.21", | |
"@storybook/react": "^5.3.21", | |
"@storybook/storybook-deployer": "^2.8.6", | |
"@storybook/theming": "^5.3.21", | |
"eslint": "^6.6.0", | |
"eslint-config-airbnb": "^18.0.1", | |
"eslint-config-prettier": "^6.5.0", | |
"eslint-plugin-import": "^2.22.0", | |
"eslint-plugin-jsx-a11y": "^6.3.1", | |
"eslint-plugin-prettier": "^3.1.1", | |
"eslint-plugin-react": "^7.20.6", | |
"eslint-plugin-react-hooks": "^2.2.0", | |
"prettier": "^1.19.1", | |
"storybook-react-router": "^1.0.8" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment