This commit is contained in:
Prec1sioN 2023-07-21 18:45:05 +06:00 committed by GitHub
commit 4715251f48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,16 @@
FROM node:18-bullseye-slim FROM node:18-alpine
WORKDIR /app WORKDIR /app
RUN apt-get update RUN apk update \
RUN apt-get install -y git && apk add --no-cache git
RUN rm -rf /var/lib/apt/lists/*
COPY package*.json ./ COPY package*.json ./
RUN npm install RUN npm install
RUN git clone -n https://github.com/wukko/cobalt.git --depth 1 && mv cobalt/.git ./ && rm -rf cobalt RUN git clone -n https://github.com/wukko/cobalt.git --depth 1 \
&& mv cobalt/.git ./ \
&& rm -rf cobalt
COPY . . COPY . .
EXPOSE 9000 EXPOSE 9000