diff --git a/docker-compose.yml b/docker-compose.yml index 61257a3e..824b6f37 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: - db ports: # DASH in numbers - - "3274:8080" + - "3274:5050" volumes: - ./plots:/public/plots networks: diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 9ae44554..f879a6ba 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -4,11 +4,11 @@ VOLUME /plots RUN mkdir -p /public WORKDIR /public -RUN npm install -g npm@8.14.0 && npm i http-server +RUN npm install -g npm@8.14.0 && npm i -g http-server COPY client /public/client COPY *.html /public/ -EXPOSE 8080 -CMD ["http-server"] +EXPOSE 5050 +CMD ["http-server", "-p", "5050"]