How to build project using dockerfile #9117
Unanswered
caluckenbach
asked this question in
Q&A
Replies: 1 comment
-
can be closed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using the following dockerfile to set up my loopback backend in a docker-compose file
since
build
behaves different than in any other project I previously encountered, I tried usingnpm run clean && npm run build
which also does not work. During development I fixed that by adding a command that rebuilds before runningdocker-compose up
to ensure that/dist
is present. How can I build the app only using the dockerfile?Beta Was this translation helpful? Give feedback.
All reactions