Skip to content

Commit

Permalink
Switch back to Alpine base image
Browse files Browse the repository at this point in the history
  • Loading branch information
statico committed Jun 15, 2024
1 parent 225f0bb commit be83623
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM node:20-slim AS base
FROM node:20-alpine AS base

# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat

ENV NEXT_TELEMETRY_DISABLED 1
ENV PNPM_HOME="/pnpm"
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ services:
femtostats:
image: ghcr.io/statico/femtostats
container_name: femtostats
user: nextjs
volumes:
- ~/stats:/data
environment:
Expand Down

0 comments on commit be83623

Please sign in to comment.