From 81bd93c3295e511ed4cc2d584a090206a78b3430 Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Fri, 2 Sep 2022 18:43:57 +0200 Subject: [PATCH] fix: dockerfile not exposing webserver --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4ee0a52..61381d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ RUN npm install RUN npm install -g ts-node typescript +EXPOSE 7272 + COPY . . -CMD ts-node --transpile-only index.ts \ No newline at end of file +CMD ts-node --transpile-only index.ts + +CMD node webserver.js \ No newline at end of file