forked from STAR-KING0/Queen_Alya
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7b349a7
commit 583c31b
Showing
1 changed file
with
19 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
FROM quay.io/sampandey001/secktor | ||
FROM node:lts-buster | ||
|
||
RUN git clone https://github.com/STAR-KING0/Queen_Alya /root/STAR-KING0 | ||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
ffmpeg \ | ||
imagemagick \ | ||
webp && \ | ||
apt-get upgrade -y && \ | ||
npm i pm2 -g && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN git clone https://github.com/STAR-KING0/Queen_Alya /root/STAR-KING0 | ||
WORKDIR /root/STAR-KING0/ | ||
|
||
# Clear npm cache and remove node_modules directories | ||
RUN npm cache clean --force | ||
RUN rm -rf /root/STAR-KING0/node_modules | ||
|
||
# Install dependencies | ||
WORKDIR /root/STAR-KING0 | ||
RUN npm install | ||
COPY package.json . | ||
RUN npm install pm2 -g | ||
RUN npm install --legacy-peer-deps | ||
|
||
COPY . . | ||
|
||
# Add additional Steps To Run... | ||
EXPOSE 3000 | ||
CMD ["npm","start" ] | ||
|
||
CMD ["npm","start" ] |