FROM node:18-slim | |
WORKDIR /app | |
COPY package.json ./ | |
COPY index.js ./ | |
COPY index.html ./ | |
COPY sketch.js ./ | |
RUN npm install | |
EXPOSE 7860 | |
CMD ["node", "index.js"] | |
FROM node:18-slim | |
WORKDIR /app | |
COPY package.json ./ | |
COPY index.js ./ | |
COPY index.html ./ | |
COPY sketch.js ./ | |
RUN npm install | |
EXPOSE 7860 | |
CMD ["node", "index.js"] | |