21 lines
411 B
Docker
21 lines
411 B
Docker
|
FROM ubuntu:22.04
|
||
|
|
||
|
RUN apt-get update \
|
||
|
&& apt-get install -y curl wget gnupg build-essential \
|
||
|
&& curl --silent --location https://deb.nodesource.com/setup_18.x | bash - \
|
||
|
&& apt-get update \
|
||
|
&& apt-get install -y nodejs git busybox jq \
|
||
|
&& node -v
|
||
|
|
||
|
RUN corepack enable \
|
||
|
&& yarn --version
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
RUN echo "Building mobymask-v2-watcher-ts" && \
|
||
|
yarn && yarn build
|
||
|
|
||
|
WORKDIR /app
|