Skip to content
Snippets Groups Projects
Commit 27f1780f authored by Jonas Leder's avatar Jonas Leder
Browse files

setup devcontainer

parent 0793a2cf
Branches
Tags
No related merge requests found
FROM alpine:latest
RUN apk update && \
apk upgrade && \
apk add nodejs yarn php8 php8-mysqli php8-mbstring git nano && \
echo "alias php=php8" >> /etc/profile
ENV ENV="/etc/profile"
\ No newline at end of file
{
"dockerFile": "Dockerfile",
"extensions": [ ],
"forwardPorts": [
1234
]
}
......@@ -9,7 +9,7 @@
"compile": "concurrently \"yarn css\" \"yarn js\"",
"css": "sass scss/:public/css --style=compressed --no-source-map",
"js": "webpack --config ./webpack.conf.js",
"watch": "concurrently \"sass --watch --style compressed scss/:public/css\" \"cd public && php -S localhost:1234\" \"webpack --config ./webpack.conf.js --mode development --watch\""
"watch": "concurrently \"sass --watch --style compressed scss/:public/css\" \"cd public && php8 -S localhost:1234\" \"webpack --config ./webpack.conf.js --mode development --watch\""
},
"devDependencies": {
"concurrently": "^6.0.0",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment