tsc change

This commit is contained in:
Abdelhadi Khiati 2018-08-15 08:34:09 +01:00
parent 49b6dce2d4
commit d9e210bb29
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ RUN apk --update add --virtual native-dep \
RUN apk add bash
COPY . /app
ENV PATH "${PATH}:/app/node_modules/.bin"
RUN npm run build
RUN /app/node_modules/.bin/tsc -p .
CMD ["node","/app/lib/standalone/start-server.js"]
# This can be overwritten later
EXPOSE 3020

View file

@ -17,7 +17,7 @@ mv ./kubectl ${HOME}/.local/bin/
# Store the new image in docker hub
docker build --quiet -t kiloreux/uppy-companion:latest -t kiloreux/uppy-companion:$TRAVIS_COMMIT -f packages/@uppy/companion/Dockerfile packages/@uppy/companion;
docker build -t kiloreux/uppy-companion:latest -t kiloreux/uppy-companion:$TRAVIS_COMMIT -f packages/@uppy/companion/Dockerfile packages/@uppy/companion;
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
docker push kiloreux/uppy-companion:$TRAVIS_COMMIT;
docker push kiloreux/uppy-companion:latest;