Update Dockerfile

This commit is contained in:
wukko 2023-04-09 09:25:59 +06:00
parent dbc6bfef6e
commit 2110432a80

View file

@ -6,7 +6,7 @@ RUN apt-get update
RUN apt-get install -y git RUN apt-get install -y git
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
RUN npm install RUN npm install
RUN git clone -n https://github.com/wukko/cobalt.git --depth 1 && cd cobalt && git checkout ${GIT_COMMIT} ./ RUN git clone -n https://github.com/wukko/cobalt.git --depth 1 && cd cobalt && git checkout ${GIT_COMMIT} .
COPY . . COPY . .
EXPOSE 9000 EXPOSE 9000
CMD [ "node", "src/cobalt" ] CMD [ "node", "src/cobalt" ]