mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 11:23:44 +08:00
6 lines
424 B
JavaScript
6 lines
424 B
JavaScript
hljs.registerLanguage("dockerfile",(()=>{"use strict";return e=>({
|
|
name:"Dockerfile",aliases:["docker"],case_insensitive:!0,
|
|
keywords:"from maintainer expose env arg user onbuild stopsignal",
|
|
contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{
|
|
beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",
|
|
starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"})})()); |