Skip to content

Commit

Permalink
Merge pull request #59 from shankari/fix_more_aws_codebuild
Browse files Browse the repository at this point in the history
Install the `http-server` module globally
  • Loading branch information
shankari authored Sep 13, 2022
2 parents 771136a + adc63eb commit df9ec23
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- db
ports:
# DASH in numbers
- "3274:8080"
- "3274:5050"
volumes:
- ./plots:/public/plots
networks:
Expand Down
6 changes: 3 additions & 3 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ VOLUME /plots
RUN mkdir -p /public
WORKDIR /public

RUN npm install -g [email protected] && npm i http-server
RUN npm install -g [email protected] && npm i -g http-server

COPY client /public/client
COPY *.html /public/

EXPOSE 8080
CMD ["http-server"]
EXPOSE 5050
CMD ["http-server", "-p", "5050"]

0 comments on commit df9ec23

Please sign in to comment.