mirror of
https://github.com/edumeet/edumeet.git
synced 2026-01-23 02:34:58 +00:00
fixed docker image file and docs
This commit is contained in:
parent
822215ddce
commit
5eadcc6bb7
2 changed files with 6 additions and 4 deletions
|
|
@ -28,5 +28,5 @@ also for the websocket connection.
|
|||
Rebuild the web application bundle:
|
||||
|
||||
```sh
|
||||
docker-compose exec edumeet sh -c "cd app && yarn && yarn build"
|
||||
docker-compose exec -u $UID edumeet sh -c "cd app && yarn && yarn build"
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:lts-buster-slim
|
||||
FROM node:14-buster-slim
|
||||
RUN apt-get update && \
|
||||
apt-get install -y git build-essential python pkg-config libssl-dev && \
|
||||
apt-get clean
|
||||
|
|
@ -6,5 +6,7 @@ WORKDIR /edumeet
|
|||
ENV DEBUG=edumeet*,mediasoup*
|
||||
RUN npm install -g nodemon && \
|
||||
npm install -g concurrently
|
||||
CMD cd app && yarn && yarn build
|
||||
CMD concurrently --names "server,app" "cd server && yarn && yarn dev" "cd app && yarn && yarn start"
|
||||
RUN touch /.yarnrc && mkdir -p /.yarn /.cache/yarn && chmod 775 /.yarn /.yarnrc /.cache/yarn
|
||||
CMD concurrently --names "server,app" \
|
||||
"cd server && yarn && yarn dev" \
|
||||
"cd app && yarn && yarn build && yarn start"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue