mirror of
https://github.com/tiennm99/is-a-dev.git
synced 2026-09-05 00:18:31 +00:00
chore: certbot script to bun
This commit is contained in:
+5
-4
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user