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 .vscode
.gitignore .gitignore
.prettierrc .prettierrc
config.json
LICENSE LICENSE
README.md README.md
node_modules node_modules

View file

@ -18,8 +18,9 @@ RUN npm run build
FROM base AS app FROM base AS app
COPY --from=install /tmp/prod/node_modules node_modules 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 . COPY package.json .
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT [ "node", "./index.js" ] ENTRYPOINT [ "node", "./out/server/index.js" ]

View file

@ -1,12 +1,10 @@
{ {
"compilerOptions": { "compilerOptions": {
"rootDir": ".", "rootDir": ".",
"outDir": ".", "outDir": ".",
"resolveJsonModule": true, "resolveJsonModule": true,
"composite": true, "composite": true,
"skipLibCheck": true "skipLibCheck": true
}, },
"files": [ "files": ["package.json"]
"package.json", "config.json"
]
} }