Skip to content

Commit

Permalink
docker build dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-schoener committed Dec 30, 2024
1 parent c101504 commit 0e9bf58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
version: "3.9"

services:
postgres:
image: "postgres:16"
image: "postgres:17"
ports:
- 5432:5432
environment:
Expand Down

0 comments on commit 0e9bf58

Please sign in to comment.