build(docker): remove markdownlint
This commit is contained in:
parent
aed1527210
commit
c37d1246a9
|
@ -1,3 +0,0 @@
|
||||||
default: true
|
|
||||||
MD013: false
|
|
||||||
MD033: false
|
|
12
Dockerfile
12
Dockerfile
|
@ -1,15 +1,3 @@
|
||||||
FROM node:14-alpine AS markdownlint
|
|
||||||
|
|
||||||
RUN npm install -g markdownlint-cli
|
|
||||||
|
|
||||||
USER node
|
|
||||||
|
|
||||||
ENTRYPOINT ["markdownlint"]
|
|
||||||
|
|
||||||
CMD ["/data"]
|
|
||||||
|
|
||||||
###
|
|
||||||
|
|
||||||
FROM node:14-alpine AS assets
|
FROM node:14-alpine AS assets
|
||||||
|
|
||||||
ARG NODE_ENV="production"
|
ARG NODE_ENV="production"
|
||||||
|
|
4
run
4
run
|
@ -42,10 +42,6 @@ function help {
|
||||||
printf "\nExtended help:\n Each task has comments for general usage\n"
|
printf "\nExtended help:\n Each task has comments for general usage\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
function lint:markdown {
|
|
||||||
docker-compose run --rm markdownlint "${@}"
|
|
||||||
}
|
|
||||||
|
|
||||||
function run-production {
|
function run-production {
|
||||||
DESTINATION_PATH="${2:-/var/www/oliverdavies.uk}"
|
DESTINATION_PATH="${2:-/var/www/oliverdavies.uk}"
|
||||||
GIT_COMMIT_HASH="${1:-latest}"
|
GIT_COMMIT_HASH="${1:-latest}"
|
||||||
|
|
Loading…
Reference in a new issue