Przeglądaj źródła

ci: post-merge tweaks

Renée Kooi 5 lat temu
rodzic
commit
f40605548e
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 0 1
      bin/travis-deploy
  2. 3 2
      packages/@uppy/companion/Dockerfile

+ 0 - 1
bin/travis-deploy

@@ -10,5 +10,4 @@ git config --global user.name 'Uppy Bot'
 git config --global user.email 'uppybot@uppy.io'
 
 # because a Travis deploy script has to be a real file
-npm run web:install
 npm run web:deploy --quiet

+ 3 - 2
packages/@uppy/companion/Dockerfile

@@ -9,13 +9,14 @@ WORKDIR /app
 ADD package.json package-*.json yarn.* /tmp/
 RUN cd /tmp && apk --update add  --virtual native-dep \
   make gcc g++ python libgcc libstdc++ git && \
-  npm  install && \
+  npm install && \
+  npm ls && \
   apk del native-dep
 RUN mkdir -p /app && cd /app && ln -nfs /tmp/node_modules
 RUN apk add bash
 COPY . /app
 ENV PATH "${PATH}:/app/node_modules/.bin"
 RUN npm run build
-CMD ["node","/app/lib/standalone/start-server.js"]
+CMD ["node","/app/bin/companion"]
 # This can be overruled later
 EXPOSE 3020