build: move Dockerfile
This commit is contained in:
parent
7e744f6b58
commit
21e36c47b9
|
@ -8,7 +8,6 @@ volumes:
|
||||||
services:
|
services:
|
||||||
nginx:
|
nginx:
|
||||||
build:
|
build:
|
||||||
dockerfile: tools/docker/Dockerfile
|
|
||||||
context: .
|
context: .
|
||||||
target: nginx
|
target: nginx
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -25,7 +24,6 @@ services:
|
||||||
php:
|
php:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: tools/docker/Dockerfile
|
|
||||||
target: dev
|
target: dev
|
||||||
image: ghcr.io/opdavies/oliverdavies-uk-php:7.4-alpine
|
image: ghcr.io/opdavies/oliverdavies-uk-php:7.4-alpine
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -52,7 +50,6 @@ services:
|
||||||
node:
|
node:
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: tools/docker/Dockerfile
|
|
||||||
target: assets
|
target: assets
|
||||||
image: ghcr.io/opdavies/oliverdavies-uk-assets:node-14
|
image: ghcr.io/opdavies/oliverdavies-uk-assets:node-14
|
||||||
working_dir: /node
|
working_dir: /node
|
||||||
|
|
2
run
2
run
|
@ -91,7 +91,7 @@ function task:lint:dockerfile {
|
||||||
hadolint/hadolint hadolint \
|
hadolint/hadolint hadolint \
|
||||||
--ignore DL3008 \
|
--ignore DL3008 \
|
||||||
--ignore DL3022 \
|
--ignore DL3022 \
|
||||||
"${@}" - < tools/docker/Dockerfile
|
"${@}" - < Dockerfile
|
||||||
}
|
}
|
||||||
|
|
||||||
function task:test:functional {
|
function task:test:functional {
|
||||||
|
|
Loading…
Reference in a new issue