Ver Fonte

Dockerfile

John há 7 meses atrás
pai
commit
6cfee38918
1 ficheiros alterados com 4 adições e 2 exclusões
  1. 4 2
      epub_node/Dockerfile

+ 4 - 2
epub_node/Dockerfile

@@ -1,5 +1,7 @@
 FROM node:22.12.0
-WORKDIR /app
+COPY package*.json ./
+RUN npm install
+COPY . .
 EXPOSE 3000
-VOLUME /app
+VOLUME /app/base_files
 CMD ["npm", "run", "serve"]