2023-03-20 12:55:39 +00:00
|
|
|
FROM ubuntu:22.04
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y curl gnupg build-essential \
|
|
|
|
&& 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 . .
|
|
|
|
|
|
|
|
RUN echo "Building watcher-ts" && \
|
|
|
|
yarn && yarn build
|
|
|
|
|
2023-04-19 08:18:51 +00:00
|
|
|
WORKDIR /app
|