Co-authored-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com> Co-committed-by: Priyanshubhartistm <bhartipriyanshustm@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV PORT=3100
|
||||
|
||||
RUN apk add --no-cache ffmpeg
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --omit=dev && npm cache clean --force
|
||||
|
||||
COPY index.js ./
|
||||
|
||||
USER node
|
||||
|
||||
EXPOSE 3100
|
||||
|
||||
CMD ["npm", "start"]
|
||||
Reference in New Issue
Block a user