mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 13:11:02 +00:00
feat: serve frontend from api container in prod build
This commit is contained in:
parent
49bff95ea5
commit
ad98ce4e88
5 changed files with 24 additions and 1 deletions
|
|
@ -45,6 +45,6 @@ LABEL stage="app"
|
|||
|
||||
RUN npm ci --only=production
|
||||
COPY --from=build-api /app/dist/ /app/dist/
|
||||
COPY --from=build-frontend /app/frontend/dist /app/static/
|
||||
COPY --from=build-frontend /app/frontend/build /app/static/
|
||||
|
||||
CMD ["dist/main"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue