Fixing messages copy
This commit is contained in:
parent
64803296d6
commit
72806b3ca0
@ -6,7 +6,7 @@ RUN yarn install && yarn proto
|
|||||||
FROM thecodingmachine/nodejs:12
|
FROM thecodingmachine/nodejs:12
|
||||||
|
|
||||||
COPY --chown=docker:docker back .
|
COPY --chown=docker:docker back .
|
||||||
COPY --from=builder --chown=docker:docker /var/www/messages/generated /var/www/html/src/Messages/generated
|
COPY --from=builder --chown=docker:docker /var/www/messages/generated /usr/src/app/src/Messages/generated
|
||||||
RUN yarn install
|
RUN yarn install
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
|
@ -315,6 +315,8 @@ export class IoSocketController {
|
|||||||
case Direction.RIGHT:
|
case Direction.RIGHT:
|
||||||
direction = 'right';
|
direction = 'right';
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
throw new Error("Unexpected direction");
|
||||||
}
|
}
|
||||||
|
|
||||||
const Client = (socket as ExSocketInterface);
|
const Client = (socket as ExSocketInterface);
|
||||||
|
Loading…
Reference in New Issue
Block a user