7a1ec3f196
Former-commit-id: 0bc54b30e0512bcf5f261b379a88fca3c004c44f
21 lines
413 B
Docker
21 lines
413 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
|