瀏覽代碼

fix: dockerfile, add dockeringore

fPolic 3 年之前
父節點
當前提交
7da2930b33
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 4 0
      .dockerignore
  2. 2 0
      Dockerfile

+ 4 - 0
.dockerignore

@@ -0,0 +1,4 @@
+dist
+node_modules
+
+npm-debug.log

+ 2 - 0
Dockerfile

@@ -16,4 +16,6 @@ RUN npm install -g @medusajs/medusa-cli@latest
 
 RUN npm install
 
+COPY . .
+
 ENTRYPOINT ["./develop.sh"]