Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
STAR-KING0 committed Jul 30, 2024
1 parent 7b349a7 commit 583c31b
Showing 1 changed file with 19 additions and 10 deletions.
29 changes: 19 additions & 10 deletions Dockerfile
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" ]

0 comments on commit 583c31b

Please sign in to comment.