build: move Dockerfile

This commit is contained in:
Oliver Davies 2021-12-28 01:28:23 +00:00
parent 7e744f6b58
commit 21e36c47b9
3 changed files with 1 additions and 4 deletions

View file

@ -8,7 +8,6 @@ volumes:
services:
nginx:
build:
dockerfile: tools/docker/Dockerfile
context: .
target: nginx
volumes:
@ -25,7 +24,6 @@ services:
php:
build:
context: .
dockerfile: tools/docker/Dockerfile
target: dev
image: ghcr.io/opdavies/oliverdavies-uk-php:7.4-alpine
volumes:
@ -52,7 +50,6 @@ services:
node:
build:
context: .
dockerfile: tools/docker/Dockerfile
target: assets
image: ghcr.io/opdavies/oliverdavies-uk-assets:node-14
working_dir: /node

2
run
View file

@ -91,7 +91,7 @@ function task:lint:dockerfile {
hadolint/hadolint hadolint \
--ignore DL3008 \
--ignore DL3022 \
"${@}" - < tools/docker/Dockerfile
"${@}" - < Dockerfile
}
function task:test:functional {