diff --git a/apps/cic-meta/docker/Dockerfile b/apps/cic-meta/docker/Dockerfile index 76804a19..f81e6720 100644 --- a/apps/cic-meta/docker/Dockerfile +++ b/apps/cic-meta/docker/Dockerfile @@ -5,8 +5,6 @@ WORKDIR /tmp/src/cic-meta COPY cic-meta/package.json \ ./ -RUN npm install - COPY cic-meta/src/ src/ COPY cic-meta/tests/ tests/ COPY cic-meta/scripts/ scripts/ @@ -14,6 +12,8 @@ COPY cic-meta/scripts/ scripts/ RUN alias tsc=node_modules/typescript/bin/tsc +RUN npm install + COPY cic-meta/.config/ /usr/local/etc/cic-meta/ # COPY cic-meta/scripts/server/initdb/server.postgres.sql /usr/local/share/cic-meta/sql/server.sql diff --git a/apps/cic-meta/package.json b/apps/cic-meta/package.json index 5bcf3e3b..c3979d8e 100644 --- a/apps/cic-meta/package.json +++ b/apps/cic-meta/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "test": "mocha -r node_modules/node-localstorage/register -r ts-node/register tests/*.ts", - "build": "node_modules/typescript/bin/tsc -d --outDir dist", + "build": "node_modules/typescript/bin/tsc -d --outDir dist src/index.ts", "build-server": "tsc -d --outDir dist-server scripts/server/*.ts", "pack": "node_modules/typescript/bin/tsc -d --outDir dist && webpack", "clean": "rm -rf dist",