A continuation of HomeBox the inventory and organization system built for the Home User
They see my errors... they hatin'
Katosd1dff61bef1f
diff --git a/Dockerfile.rootless b/Dockerfile.rootlessindex 200bb3d9..68b4123d 100644--- a/Dockerfile.rootless+++ b/Dockerfile.rootless@@ -1,13 +1,21 @@# Node dependenciesFROM public.ecr.aws/docker/library/node:18-alpine AS frontend-dependenciesWORKDIR /app++# Install bash and pnpm dependencies+RUN apk update && apk add --no-cache bash++# Install pnpm globallyRUN npm install -g pnpm+COPY frontend/package.json frontend/pnpm-lock.yaml ./RUN pnpm install --frozen-lockfile --shamefully-hoist# Build NuxtFROM public.ecr.aws/docker/library/node:18-alpine AS frontend-builderWORKDIR /app++# Copy frontend and install node_modules from previous stageCOPY frontend ./COPY --from=frontend-dependencies /app/node_modules ./node_modulesRUN pnpm build@@ -51,7 +59,7 @@ ENV HBOX_STORAGE_DATA=/data/ENV HBOX_STORAGE_SQLITE_URL=/data/homebox.db?_fk=1&_time_format=sqlite# Install necessary runtime dependencies-RUN apk --no-cache add ca-certificates wget curl+RUN apk --no-cache add ca-certificates wget curl bash# Copy the binary and data directoryCOPY --from=builder /go/bin/api /app