feat(docker): basic
This commit is contained in:
commit
5765db3d90
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.cuddle/
|
7
cuddle.yaml
Normal file
7
cuddle.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# yaml-language-server: $schema=https://git.front.kjuulh.io/kjuulh/cuddle/raw/branch/main/schemas/base.json
|
||||||
|
|
||||||
|
base: true
|
||||||
|
|
||||||
|
scripts:
|
||||||
|
build_docker:
|
||||||
|
type: shell
|
5
scripts/build_docker.sh
Executable file
5
scripts/build_docker.sh
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
docker build -f $TMP/build_docker.Dockerfile .
|
7
templates/build_docker.Dockerfile
Normal file
7
templates/build_docker.Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
FROM node
|
||||||
|
|
||||||
|
RUN npx semantic-release@18
|
||||||
|
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
RUN npx semantic-release
|
Loading…
Reference in New Issue
Block a user