FROM node:20 | |
WORKDIR /code | |
Run git clone https://github.com/jarvisx17/dalle-2.git . | |
COPY . . | |
RUN npm install | |
Run npm install -g npm@10.5.2 | |
RUN npm run build | |
EXPOSE 7860 | |
CMD ["npm", "run", "start"] |
FROM node:20 | |
WORKDIR /code | |
Run git clone https://github.com/jarvisx17/dalle-2.git . | |
COPY . . | |
RUN npm install | |
Run npm install -g npm@10.5.2 | |
RUN npm run build | |
EXPOSE 7860 | |
CMD ["npm", "run", "start"] |