Workflow: Update formula11 dockerfile
All checks were successful
Build Formula11 Docker Image / pocketbase-docker (push) Successful in 32s

This commit is contained in:
2025-02-02 23:03:05 +01:00
parent 00d3330262
commit c299cd626e

View File

@ -6,9 +6,6 @@ COPY package*.json ./
RUN npm ci
# Sharp requires extra shit
RUN npm install --os=linux --libc=musl --cpu=x64 --include=optional sharp
COPY . .
RUN npm run build
@ -19,8 +16,7 @@ FROM node:23-alpine
WORKDIR /app
COPY --from=builder /app/build build/
# If all deps are devDependencies, this should theoretically not be required
# COPY --from=builder /app/node_modules node_modules/
COPY --from=builder /app/node_modules node_modules/
COPY package.json .
EXPOSE 5173