🔨(y-webrtc-signaling) dockerize y-webrtc-signaling
Dockerize y-webrtc-signaling for futur deployment. Add a docker-compose file to run easily the signaling server.
This commit is contained in:
17
src/frontend/Dockerfile
Normal file
17
src/frontend/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM node:20-alpine as y-webrtc-signaling
|
||||
|
||||
WORKDIR /home/frontend/
|
||||
|
||||
COPY ./package.json .
|
||||
COPY ./apps/y-webrtc-signaling/package.json ./apps/y-webrtc-signaling/
|
||||
COPY ./packages/eslint-config-impress/package.json ./packages/eslint-config-impress/
|
||||
|
||||
RUN yarn install
|
||||
|
||||
COPY . .
|
||||
|
||||
WORKDIR /home/frontend/apps/y-webrtc-signaling
|
||||
|
||||
RUN yarn build
|
||||
|
||||
CMD ["yarn", "start"]
|
||||
Reference in New Issue
Block a user