|
|
|
@ -9,7 +9,7 @@ COPY --link package.json pnpm-lock.yaml* ./
|
|
|
|
|
|
|
|
|
|
RUN <<EOF
|
|
|
|
|
set -xe
|
|
|
|
|
apk add libc6-compat
|
|
|
|
|
apk add libc6-compat tzdata
|
|
|
|
|
apk add --virtual .gyp python3 make g++
|
|
|
|
|
yarn global add pnpm
|
|
|
|
|
EOF
|
|
|
|
@ -42,7 +42,11 @@ LABEL org.opencontainers.image.source='https://github.com/benphelps/homepage'
|
|
|
|
|
LABEL org.opencontainers.image.licenses='Apache-2.0'
|
|
|
|
|
|
|
|
|
|
ENV NODE_ENV production
|
|
|
|
|
ENV PUID 0
|
|
|
|
|
ENV PGID 0
|
|
|
|
|
ENV TZ Europe/London
|
|
|
|
|
|
|
|
|
|
USER $PUID:$PGID
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
|
|
# Copy files from context (this allows the files to copy before the builder stage is done).
|
|
|
|
|