Add container build
This commit is contained in:
parent
f5f262cea3
commit
81066905d4
8
container-build/cerc-watcher-mobymask/Dockerfile
Normal file
8
container-build/cerc-watcher-mobymask/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
# TODO: move this into the cerc-io/mobymask-watcher repo
|
||||
FROM node:16.17.1-alpine3.16
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN apk --update --no-cache add git && yarn && yarn build
|
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
# Build cerc/watcher-mobymask
|
||||
|
||||
# See: https://stackoverflow.com/a/246128/1701505
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
docker build -t cerc/watcher-mobymask:local -f ${SCRIPT_DIR}/Dockerfile ${CERC_REPO_BASE_DIR}/mobymask-watcher
|
Loading…
Reference in New Issue
Block a user