e-mission / em-public-dashboard

A simple and stupid public dashboard prototype.
BSD 3-Clause "New" or "Revised" License
1 stars 23 forks source link

Support aws codebuild by moving the dockerfile to the frontend directory #56

Closed shankari closed 2 years ago

shankari commented 2 years ago

And dealing with the fallout.

Testing done:

Building dashboard
[+] Building 0.1s (9/9) FINISHED
 => [internal] load build definition from Dockerfile                                                     0.0s
 => => transferring dockerfile: 162B                                                                     0.0s
 => [internal] load .dockerignore                                                                        0.0s
 => => transferring context: 2B                                                                          0.0s
 => [internal] load metadata for docker.io/danjellz/http-server:1.4                                      0.0s
 => [1/4] FROM docker.io/danjellz/http-server:1.4                                                        0.0s
 => [internal] load build context                                                                        0.0s
 => => transferring context: 23.99kB                                                                     0.0s
 => CACHED [2/4] RUN mkdir -p /public                                                                    0.0s
 => CACHED [3/4] COPY client /public/client                                                              0.0s
 => CACHED [4/4] COPY *.html /public                                                                     0.0s
 => exporting to image                                                                                   0.0s
 => => exporting layers                                                                                  0.0s
 => => writing image sha256:093120fe21cf27cc85d9a848fac21cd27b8739cf85f9cb5e222b24226a297a2c             0.0s
 => => naming to docker.io/em-pub-dash-prod/frontend                                                     0.0s
dashboard_1        | Starting up http-server, serving ./
dashboard_1        |
dashboard_1        | http-server version: 14.1.1
dashboard_1        |

dashboard_1        | [2022-09-09T23:32:24.856Z]  "GET /client/img/doe-eere.png" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0"
dashboard_1        | [2022-09-09T23:32:24.857Z]  "GET /client/img/alliance-logo_black.png" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0"
dashboard_1        | [2022-09-09T23:32:24.858Z]  "GET /client/img/nrel-logo-web.svg" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Firefox/91.0"