Skip to content

Commit

Permalink
fix(node): use node 21.7.0 bookworm image because of issues with neve…
Browse files Browse the repository at this point in the history
…r ending docker image build
  • Loading branch information
ismarslomic committed Mar 8, 2024
1 parent ddfebd1 commit 92aa30b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use offical Node.js image. The image uses Apline Linux
FROM node:21.7.0-alpine
FROM node:21.7.0-bookworm-slim

# Build-time metadata as defined at https://github.com/opencontainers/image-spec/blob/master/annotations.md
ARG BUILD_DATE
Expand All @@ -10,7 +10,7 @@ ARG GIT_SHA
ENV NODE_ENV production

# Install timezone database to allow setting timezone through TZ environment variable
RUN apk add --no-cache tzdata
RUN apt install tzdata

LABEL org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.authors="Steven Mayotte" \
Expand Down

0 comments on commit 92aa30b

Please sign in to comment.