make image actually buildable

This commit is contained in:
cirroskais 2024-04-28 04:29:25 -04:00
parent f7f8b390e4
commit 4264ee41f4
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D
3 changed files with 11 additions and 13 deletions

View file

@ -1,7 +1,6 @@
.vscode
.gitignore
.prettierrc
config.json
LICENSE
README.md
node_modules

View file

@ -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" ]
ENTRYPOINT [ "node", "./out/server/index.js" ]

View file

@ -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"]
}