Updated with latest definitions
This commit is contained in:
		@@ -24,11 +24,8 @@ RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
 | 
			
		||||
        && chown -R $USER_UID:$USER_GID /home/$USERNAME; \
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
# *************************************************************
 | 
			
		||||
# * Uncomment this section to use RUN instructions to install *
 | 
			
		||||
# * any needed dependencies after executing "apt-get update". *
 | 
			
		||||
# * See https://docs.docker.com/engine/reference/builder/#run *
 | 
			
		||||
# *************************************************************
 | 
			
		||||
# ** [Optional] Uncomment this section to install additional packages. **
 | 
			
		||||
#
 | 
			
		||||
# ENV DEBIAN_FRONTEND=noninteractive
 | 
			
		||||
# RUN apt-get update \
 | 
			
		||||
#    && apt-get -y install --no-install-recommends <your-package-list-here> \
 | 
			
		||||
@@ -38,6 +35,3 @@ RUN if [ "$USER_GID" != "1000" ] || [ "$USER_UID" != "1000" ]; then \
 | 
			
		||||
#    && apt-get clean -y \
 | 
			
		||||
#    && rm -rf /var/lib/apt/lists/*
 | 
			
		||||
# ENV DEBIAN_FRONTEND=dialog
 | 
			
		||||
 | 
			
		||||
# Uncomment to default to non-root user
 | 
			
		||||
# USER $USER_UID
 | 
			
		||||
 
 | 
			
		||||
@@ -2,24 +2,23 @@
 | 
			
		||||
    "name": "Node.js Sample",
 | 
			
		||||
    "dockerFile": "Dockerfile",
 | 
			
		||||
 | 
			
		||||
    // Use 'appPort' to create a container with published ports. If the port isn't working, be sure
 | 
			
		||||
    // your server accepts connections from all interfaces (0.0.0.0 or '*'), not just localhost.
 | 
			
		||||
    "appPort": [3000],
 | 
			
		||||
 | 
			
		||||
    // Comment out the next line to run as root instead.
 | 
			
		||||
    "remoteUser": "node",
 | 
			
		||||
 | 
			
		||||
    // Use 'settings' to set *default* container specific settings.json values on container create. 
 | 
			
		||||
    // You can edit these settings after create using File > Preferences > Settings > Remote.
 | 
			
		||||
    "settings": {
 | 
			
		||||
        "terminal.integrated.shell.linux": "/bin/bash"
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    // Specifies a command that should be run after the container has been created.
 | 
			
		||||
    "postCreateCommand": "yarn install",
 | 
			
		||||
 | 
			
		||||
    // Add the IDs of extensions you want installed when the container is created in the array below.
 | 
			
		||||
    "extensions": [
 | 
			
		||||
        "dbaeumer.vscode-eslint"
 | 
			
		||||
    ]
 | 
			
		||||
    ],
 | 
			
		||||
    
 | 
			
		||||
	// Use 'forwardPorts' to make a list of ports inside the container available locally.
 | 
			
		||||
    "forwardPorts": [3000],
 | 
			
		||||
 | 
			
		||||
    // Specifies a command that should be run after the container has been created.
 | 
			
		||||
    "postCreateCommand": "yarn install",
 | 
			
		||||
        
 | 
			
		||||
    // Comment out the next line to run as root instead.
 | 
			
		||||
    "remoteUser": "node"
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user