chore: certbot script to bun

This commit is contained in:
Akshay Nair
2024-01-07 15:39:24 +05:30
parent c74f9195ac
commit 07015bb1eb
3 changed files with 10 additions and 9 deletions
+5 -4
View File
@@ -5,17 +5,18 @@ RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime
RUN apt-get -y update
RUN apt-get install -y nodejs npm curl wget dnsutils certbot --fix-missing
RUN apt-get install -y unzip
RUN npm i -g n yarn && n 15.11
RUN bash -c "curl -fsSL https://bun.sh/install | bash -s 'bun-v1.0.15'"
RUN node -v
RUN ~/.bun/bin/bun -v
WORKDIR /opt/app
COPY yarn.lock .
COPY bun.lockb .
COPY package.json .
RUN yarn install
RUN ~/.bun/bin/bun install
CMD ["sh", "-c", "cp -r node_modules code; cd code; tail -f /dev/null"]