forked from github-starred/komodo
fix dockerfile
This commit is contained in:
@@ -2,4 +2,7 @@
|
||||
readme.md
|
||||
typeshare.toml
|
||||
LICENSE
|
||||
*.code-workspace
|
||||
*.code-workspace
|
||||
|
||||
*/node_modules
|
||||
*/dist
|
||||
@@ -1,2 +0,0 @@
|
||||
node_modules
|
||||
dist
|
||||
@@ -1,6 +1,11 @@
|
||||
FROM node:alpine
|
||||
|
||||
COPY . .
|
||||
RUN yarn && yarn build
|
||||
WORKDIR /app
|
||||
|
||||
CMD yarn preview --host
|
||||
COPY ./frontend ./frontend
|
||||
COPY ./client/ts ./client
|
||||
|
||||
RUN cd client && yarn && yarn build && yarn link
|
||||
RUN cd frontend && yarn link @monitor/client && yarn && yarn build
|
||||
|
||||
CMD cd frontend && yarn preview --host
|
||||
Reference in New Issue
Block a user