mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-20 22:24:28 +01:00
support interval habit frequency (#104)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# syntax=docker.io/docker/dockerfile:1
|
||||
|
||||
FROM --platform=$BUILDPLATFORM node:18-alpine AS base
|
||||
FROM node:18-alpine AS base
|
||||
|
||||
# Install dependencies only when needed
|
||||
FROM --platform=$BUILDPLATFORM base AS deps
|
||||
FROM base AS deps
|
||||
# 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
|
||||
WORKDIR /app
|
||||
@@ -19,7 +19,7 @@ RUN \
|
||||
fi
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
FROM --platform=$BUILDPLATFORM base AS builder
|
||||
FROM base AS builder
|
||||
WORKDIR /app
|
||||
COPY --from=deps /app/node_modules ./node_modules
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user