add container configuration
This commit is contained in:
		
							
								
								
									
										21
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
{
 | 
			
		||||
		"image":"mcr.microsoft.com/devcontainers/base:dev-ubuntu-20.04",
 | 
			
		||||
		"forwardPorts": [
 | 
			
		||||
			{
 | 
			
		||||
			"containerPort": 8080,
 | 
			
		||||
			"protocol": "tcp"
 | 
			
		||||
			}
 | 
			
		||||
		  ],
 | 
			
		||||
		  "containerEnv": {
 | 
			
		||||
			"NODE_ENV": "development"
 | 
			
		||||
		  },
 | 
			
		||||
		  "initializeCommand": "echo \"init\";",
 | 
			
		||||
		  "postCreateCommand": [
 | 
			
		||||
			"echo \"created\";",
 | 
			
		||||
			"echo \"test\";"
 | 
			
		||||
		  ],
 | 
			
		||||
		  "runArgs": [
 | 
			
		||||
			"-p",
 | 
			
		||||
			"8888:8888"
 | 
			
		||||
		  ]
 | 
			
		||||
		}
 | 
			
		||||
		Reference in New Issue
	
	Block a user