mirror of
				https://github.com/docker/getting-started-app.git
				synced 2025-10-31 03:01:22 -04:00 
			
		
		
		
	created docker file
This commit is contained in:
		
							
								
								
									
										6
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | ||||
| FROM node:18-alpine | ||||
| WORKDIR /app | ||||
| COPY . . | ||||
| RUN yarn install --production  | ||||
| CMD ["node", "src/index.js"] | ||||
| EXPOSE 3000 | ||||
| @@ -53,7 +53,7 @@ function TodoListCard() { | ||||
|         <React.Fragment> | ||||
|             <AddItemForm onNewItem={onNewItem} /> | ||||
|             {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 one above!</p> | ||||
|             )} | ||||
|             {items.map(item => ( | ||||
|                 <ItemDisplay | ||||
|   | ||||
		Reference in New Issue
	
	Block a user