Compare commits
No commits in common. "a2b7531ad4ca9cef9270e0b31018156f14f4ac4a" and "85b2635da32be5d38a2df282291e37a14bb9f76b" have entirely different histories.
a2b7531ad4
...
85b2635da3
|
@ -2,5 +2,3 @@
|
||||||
echo '* text=auto eol=lf' > $(git rev-parse --git-dir)/info/attributes
|
echo '* text=auto eol=lf' > $(git rev-parse --git-dir)/info/attributes
|
||||||
sudo rm -rf /var/www/html
|
sudo rm -rf /var/www/html
|
||||||
sudo ln -sT $(pwd)/test/website /var/www/html
|
sudo ln -sT $(pwd)/test/website /var/www/html
|
||||||
sudo chown vscode:vscode node_modules
|
|
||||||
sudo chown vscode:vscode vendor
|
|
||||||
|
|
|
@ -4,10 +4,7 @@ RUN apt-get update && \
|
||||||
apt-get -y install sudo && \
|
apt-get -y install sudo && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN userdel node; \
|
RUN adduser --disabled-password --gecos '' vscode && \
|
||||||
adduser --disabled-password --gecos '' vscode && \
|
|
||||||
sed -i /etc/sudoers -re 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' && \
|
sed -i /etc/sudoers -re 's/^%sudo.*/%sudo ALL=(ALL:ALL) NOPASSWD: ALL/g' && \
|
||||||
sed -i /etc/sudoers -re 's/^root.*/root ALL=(ALL:ALL) NOPASSWD: ALL/g' && \
|
sed -i /etc/sudoers -re 's/^root.*/root ALL=(ALL:ALL) NOPASSWD: ALL/g' && \
|
||||||
echo 'vscode ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
echo 'vscode ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
|
||||||
|
|
||||||
USER vscode
|
|
||||||
|
|
6
.vscode/launch.json
vendored
6
.vscode/launch.json
vendored
|
@ -23,9 +23,9 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "pwa-chrome",
|
"type": "pwa-msedge",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"name": "Launch Chrome",
|
"name": "Launch Edge",
|
||||||
"url": "http://localhost:3000",
|
"url": "http://localhost:3000",
|
||||||
"webRoot": "${workspaceFolder}/test/website/public",
|
"webRoot": "${workspaceFolder}/test/website/public",
|
||||||
"pathMapping": {
|
"pathMapping": {
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
{
|
{
|
||||||
"name": "Debug Theme",
|
"name": "Debug Theme",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
"Launch Chrome",
|
"Launch Edge",
|
||||||
"Listen for XDebug"
|
"Listen for XDebug"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue