Merge 8cbdbfa273 into 13386236e4
				
					
				
			This commit is contained in:
		
							
								
								
									
										7
									
								
								app/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								app/Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | |||||||
|  |  # syntax=docker/dockerfile:1 | ||||||
|  |  FROM node:12-alpine | ||||||
|  |  RUN apk add --no-cache python g++ make | ||||||
|  |  WORKDIR /app | ||||||
|  |  COPY . . | ||||||
|  |  RUN yarn install --production | ||||||
|  |  CMD ["node", "src/index.js"] | ||||||
| @@ -53,7 +53,7 @@ function TodoListCard() { | |||||||
|         <React.Fragment> |         <React.Fragment> | ||||||
|             <AddItemForm onNewItem={onNewItem} /> |             <AddItemForm onNewItem={onNewItem} /> | ||||||
|             {items.length === 0 && ( |             {items.length === 0 && ( | ||||||
|                 <p className="text-center">No items yet! Add one above!</p> |                 <p className="text-center">You have no todo items yet! Add on above!</p> | ||||||
|             )} |             )} | ||||||
|             {items.map(item => ( |             {items.map(item => ( | ||||||
|                 <ItemDisplay |                 <ItemDisplay | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user