Skip to content

Commit a60a1c2

Browse files
committed
wip building
1 parent dc6e4c7 commit a60a1c2

File tree

6 files changed

+7
-15
lines changed

6 files changed

+7
-15
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/builds
12
/vendor
23
/.idea
34
/.vscode

Dockerfile

+3-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
FROM php:8-cli-alpine
22

3-
COPY . /app
4-
5-
RUN docker-php-ext-configure bcmath --enable-bcmath && \
6-
docker-php-ext-configure pcntl --enable-pcntl && \
7-
docker-php-ext-install \
8-
bcmath \
9-
pcntl
10-
11-
RUN rm -rf tests/ .git/ .github/ *.md && \
12-
rm -rf vendor/*/test/ vendor/*/tests/*
13-
143
WORKDIR /app
154

16-
CMD ["php", "application", "network:watch"]
5+
COPY builds/network-watcher /app/network-watcher
6+
7+
CMD ["/app/network-watcher", "network:watch"]

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $ composer install --ignore-platform-reqs && cp .env.example .env
3232
## Running the Network Watcher
3333

3434
```bash
35-
$ php application network:watch
35+
$ php artisan network:watch
3636
```
3737

3838
## 🐛 Testing

application artisan

File renamed without changes.

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
},
4747
"minimum-stability": "dev",
4848
"prefer-stable": true,
49-
"bin": ["application"]
49+
"bin": ["artisan"]
5050
}

config/app.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
|
1414
*/
1515

16-
'name' => 'Application',
16+
'name' => 'Network Watcher',
1717

1818
/*
1919
|--------------------------------------------------------------------------

0 commit comments

Comments
 (0)