mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-21 21:36:26 -08:00
make image actually buildable
This commit is contained in:
parent
f7f8b390e4
commit
4264ee41f4
|
@ -1,7 +1,6 @@
|
||||||
.vscode
|
.vscode
|
||||||
.gitignore
|
.gitignore
|
||||||
.prettierrc
|
.prettierrc
|
||||||
config.json
|
|
||||||
LICENSE
|
LICENSE
|
||||||
README.md
|
README.md
|
||||||
node_modules
|
node_modules
|
||||||
|
|
|
@ -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" ]
|
|
@ -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"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue