Skip to content

Commit

Permalink
wip building
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Aug 20, 2021
1 parent dc6e4c7 commit a60a1c2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 15 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/builds
/vendor
/.idea
/.vscode
Expand Down
15 changes: 3 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,7 @@
FROM php:8-cli-alpine

COPY . /app

RUN docker-php-ext-configure bcmath --enable-bcmath && \
docker-php-ext-configure pcntl --enable-pcntl && \
docker-php-ext-install \
bcmath \
pcntl

RUN rm -rf tests/ .git/ .github/ *.md && \
rm -rf vendor/*/test/ vendor/*/tests/*

WORKDIR /app

CMD ["php", "application", "network:watch"]
COPY builds/network-watcher /app/network-watcher

CMD ["/app/network-watcher", "network:watch"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $ composer install --ignore-platform-reqs && cp .env.example .env
## Running the Network Watcher

```bash
$ php application network:watch
$ php artisan network:watch
```

## 🐛 Testing
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
},
"minimum-stability": "dev",
"prefer-stable": true,
"bin": ["application"]
"bin": ["artisan"]
}
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
|
*/

'name' => 'Application',
'name' => 'Network Watcher',

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit a60a1c2

Please sign in to comment.