moved bee-dashboard image to nginx
All checks were successful
CI / Build bee-dashboard docker images (push) Successful in 9m50s
All checks were successful
CI / Build bee-dashboard docker images (push) Successful in 9m50s
This commit is contained in:
@@ -9,9 +9,6 @@ ADD git@github.com:ethersphere/bee-dashboard.git#v${VERSION} .
|
|||||||
RUN PUPPETEER_SKIP_DOWNLOAD=1 npm ci
|
RUN PUPPETEER_SKIP_DOWNLOAD=1 npm ci
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM base AS final
|
FROM gitea.woggioni.net/woggioni/nginx:v1.29.0 AS final
|
||||||
RUN npm i -g serve
|
COPY --from=build /src/build /srv/http
|
||||||
WORKDIR /app
|
COPY bee-dashboard.conf /etc/nginx/conf.d/bee-dashboard.conf
|
||||||
COPY --from=build /src/build .
|
|
||||||
EXPOSE 8080
|
|
||||||
ENTRYPOINT ["serve", "-l", "8080"]
|
|
||||||
|
7
bee-dashboard/bee-dashboard.conf
Normal file
7
bee-dashboard/bee-dashboard.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
server {
|
||||||
|
listen 8080;
|
||||||
|
root /srv/http;
|
||||||
|
location / {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user