diff --git a/Dockerfile b/Dockerfile index 0566993..0650623 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Go -FROM golang:1.21-alpine AS go-builder +FROM golang:1.23-alpine AS go-builder RUN apk add --no-cache upx WORKDIR /app @@ -11,10 +11,10 @@ RUN upx bin/group-challenge ######### # React Frontend -FROM node:20.10-alpine AS react-builder +FROM node:22.12-alpine AS react-builder WORKDIR /app -ENV PATH /app/node_modules/.bin:$PATH +ENV PATH=/app/node_modules/.bin:$PATH COPY frontend/package.json . COPY frontend/package-lock.json . RUN npm ci --silent @@ -24,7 +24,7 @@ RUN npm run build ######### # Executable -FROM alpine:3.19.0 +FROM alpine:3.21.0 RUN apk --no-cache add ca-certificates WORKDIR /app diff --git a/docker-compose.yaml b/docker-compose.yaml index e9562cc..31f379d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,8 +1,6 @@ -version: "3.9" - services: postgres: - image: "postgres:16" + image: "postgres:17" ports: - 5432:5432 environment: