diff --git a/.dockerignore b/.dockerignore index b76e09f..95e452b 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,6 @@ .vscode .gitignore .prettierrc -config.json LICENSE README.md node_modules diff --git a/Dockerfile b/Dockerfile index 57009fa..f408d03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,9 @@ RUN npm run build FROM base AS app COPY --from=install /tmp/prod/node_modules node_modules -COPY --from=build out ./ +COPY --from=build /usr/src/app/out out +COPY --from=build /usr/src/app/dist dist COPY package.json . EXPOSE 3000 -ENTRYPOINT [ "node", "./index.js" ] \ No newline at end of file +ENTRYPOINT [ "node", "./out/server/index.js" ] \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json index 38121b9..70c8f58 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,12 +1,10 @@ { - "compilerOptions": { - "rootDir": ".", - "outDir": ".", - "resolveJsonModule": true, - "composite": true, - "skipLibCheck": true - }, - "files": [ - "package.json", "config.json" - ] + "compilerOptions": { + "rootDir": ".", + "outDir": ".", + "resolveJsonModule": true, + "composite": true, + "skipLibCheck": true + }, + "files": ["package.json"] }