20 lines
No EOL
233 B
Docker
20 lines
No EOL
233 B
Docker
ARG NODE_VERSION=23.0.0
|
|
|
|
FROM node:${NODE_VERSION}-alpine
|
|
|
|
ENV NODE_ENV production
|
|
|
|
RUN apk add chromium python3 g++ make py3-pip
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
|
COPY . .
|
|
|
|
RUN npm install
|
|
|
|
USER node
|
|
EXPOSE 3000
|
|
EXPOSE 3001
|
|
|
|
CMD node index.js |