Skip to content

Commit

Permalink
Bump node and cypress (#2695)
Browse files Browse the repository at this point in the history
* Update cypress

* Bump dockerfile images

* Make backend listen on IPv4

* Update readme

* Bump backend image

* npm audit fix

* fix docs and add echo for node version and npm version

* fix docs and add echo for node version and npm version

* fix echo version

---------

Co-authored-by: mrCherry97 <mwisnia97@gmail.com>
  • Loading branch information
akucharska and mrCherry97 authored Dec 19, 2023
1 parent bbf7ea9 commit 027422e
Show file tree
Hide file tree
Showing 11 changed files with 1,862 additions and 3,014 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---- Base Alpine with Node ----
FROM alpine:3.16.8 AS builder
FROM alpine:3.19.0 AS builder
ARG TAG_default_tag

RUN apk add --update nodejs npm
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.local
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# this is a Dockerfile for single deployment app - both backend and frontends

# ---- Base Alpine with Node ----
FROM alpine:3.16.8 AS builder
FROM alpine:3.19.0 AS builder
ARG TAG_default_tag

RUN apk add --update nodejs npm
Expand All @@ -25,7 +25,7 @@ RUN npm test 2>&1 && npm run build:docker
RUN cd /app/backend && npm run build

# ---- Serve ----
FROM alpine:3.16.8
FROM alpine:3.19.0
WORKDIR /app

RUN apk --no-cache upgrade && \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Busola project contains additional sub-projects:

## Prerequisites

- [`npm`](https://www.npmjs.com/) in version 8.x
- [`node`](https://nodejs.org/en/) in version 16.x
- [`npm`](https://www.npmjs.com/) in version 10.x
- [`node`](https://nodejs.org/en/) in version 20.x

Busola supports:

Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ---- Base Alpine with Node ----
FROM alpine:3.16.8 AS base
FROM alpine:3.19.0 AS base
# install node
RUN apk add --update nodejs npm openssl nghttp2

Expand Down
2 changes: 1 addition & 1 deletion backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ process.on('SIGINT', function() {
process.exit();
});

server.listen(port, address, () => {
server.listen(port, '0.0.0.0', address, () => {
console.log(`Busola backend server started @ ${port}!`);
});
Loading

0 comments on commit 027422e

Please sign in to comment.