Skip to content

Commit

Permalink
update node and cimgs
Browse files Browse the repository at this point in the history
  • Loading branch information
mipyykko committed Jul 19, 2023
1 parent 96ac4d3 commit a8bf707
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ orbs:
executors:
node_postgres:
docker:
- image: cimg/node:18.16.0
- image: cimg/node:18.17.0
- image: cimg/postgres:15.3
environment:
POSTGRES_USER: root
Expand All @@ -17,7 +17,7 @@ executors:
jobs:
code_style:
docker:
- image: cimg/node:18.16.0
- image: cimg/node:18.17.0
steps:
- checkout
- node/install-packages
Expand All @@ -35,7 +35,7 @@ jobs:

build_frontend:
docker:
- image: cimg/gcp:2023.05
- image: cimg/gcp:2023.07
working_directory: /mnt/ramdisk
steps:
- checkout
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:

build_backend:
docker:
- image: cimg/gcp:2023.05
- image: cimg/gcp:2023.07
working_directory: /mnt/ramdisk
steps:
- checkout
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
# command: "bin/push-docker-auth-image.sh"
deploy_to_production:
docker:
- image: cimg/gcp:2023.05
- image: cimg/gcp:2023.07
working_directory: /mnt/ramdisk
steps:
- checkout
Expand Down
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.0-alpine3.18
FROM node:18.17.0-alpine3.18

RUN apk update && \
apk add \
Expand Down
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.16.0-buster
FROM node:18.17.0-buster

RUN apt-get update \
&& apt-get install -y build-essential libgl1-mesa-glx pigz \
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/Link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export const LinkBehavior = React.forwardRef<
React.AnchorHTMLAttributes<HTMLAnchorElement> & NextLinkProps
>((props, ref) => {
const { href, ...other } = props
return <NextLink ref={ref} href={href} {...other} />
return <NextLink ref={ref} href={href} prefetch={false} {...other} />
})
4 changes: 2 additions & 2 deletions frontend/next.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// @ts-check
const path = require("path")
const dns = require("dns")
/*const dns = require("dns")
// fix for undici
dns.setDefaultResultOrder("ipv4first")
dns.setDefaultResultOrder("ipv4first")*/

const isProduction = process.env.NODE_ENV === "production"

Expand Down

0 comments on commit a8bf707

Please sign in to comment.