2023-03-20 12:55:39 +00:00
|
|
|
FROM ubuntu:22.04
|
|
|
|
|
|
|
|
RUN apt-get update \
|
2023-04-20 09:42:59 +00:00
|
|
|
&& apt-get install -y curl wget gnupg build-essential \
|
2023-03-20 12:55:39 +00:00
|
|
|
&& curl --silent --location https://deb.nodesource.com/setup_18.x | bash - \
|
|
|
|
&& apt-get update \
|
2023-03-24 11:53:54 +00:00
|
|
|
&& apt-get install -y nodejs git busybox jq \
|
2023-03-20 12:55:39 +00:00
|
|
|
&& node -v
|
|
|
|
|
|
|
|
RUN corepack enable \
|
|
|
|
&& yarn --version
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
2023-04-21 11:57:53 +00:00
|
|
|
RUN echo "Building mobymask-v2-watcher-ts" && \
|
2023-05-16 03:39:08 +00:00
|
|
|
yarn && yarn build
|
2023-03-20 12:55:39 +00:00
|
|
|
|
2023-04-19 08:18:51 +00:00
|
|
|
WORKDIR /app
|