🔨(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:
Anthony LC
2024-04-08 11:59:25 +02:00
committed by Anthony LC
parent f4e4cbaa56
commit 75bb4b36d4
3 changed files with 27 additions and 13 deletions

17
src/frontend/Dockerfile Normal file
View 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"]