Fixing Docker build images to add new messages directory
This commit is contained in:
parent
32f92d5c45
commit
7826b2ea8d
4 changed files with 9 additions and 5 deletions
|
@ -1,7 +1,9 @@
|
|||
FROM thecodingmachine/nodejs:12
|
||||
|
||||
COPY --chown=docker:docker . .
|
||||
COPY --chown=docker:docker back .
|
||||
COPY --chown=docker:docker messages ../messages
|
||||
RUN yarn install
|
||||
RUN cd /usr/src/messages && yarn install
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import {BatchMessage, SubMessage} from "../../../../messages/generated/messages_
|
|||
export interface ExSocketInterface extends Socket, Identificable {
|
||||
token: string;
|
||||
roomId: string;
|
||||
webRtcRoomId: string;
|
||||
webRtcRoomId: string|undefined;
|
||||
userId: number; // A temporary (autoincremented) identifier for this user
|
||||
userUuid: string; // A unique identifier for this user
|
||||
name: string;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue