fix docker

This commit is contained in:
Rizky 2024-09-02 14:25:47 +07:00
parent 9716a6a973
commit 356de8d6de
1 changed files with 2 additions and 3 deletions

View File

@ -1,13 +1,12 @@
FROM oven/bun:1.1.13 as base FROM oven/bun:latest as base
WORKDIR /app/prasi/repo WORKDIR /app/prasi/repo
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update RUN apt-get update
RUN apt-get install build-essential gcc git curl gnupg zip unzip -yq RUN apt-get install wget build-essential gcc git curl gnupg zip unzip -yq
RUN git config --global --add safe.directory /app/prasi/repo RUN git config --global --add safe.directory /app/prasi/repo
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get update RUN apt-get update
RUN apt-get install nodejs -yq RUN apt-get install nodejs -yq