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