mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2025-11-03 13:33:30 +00:00
fix: Revert Dockerfile edits and lockfile changes
This reverts commits8409b71857and78eb2b183e
This commit is contained in:
@@ -2,19 +2,14 @@ FROM node:lts-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy frontend package files
|
||||
COPY package*.json ./
|
||||
COPY frontend/package*.json ./frontend/
|
||||
|
||||
WORKDIR /app/frontend
|
||||
|
||||
# Install frontend dependencies (now has its own package-lock.json)
|
||||
RUN npm ci --ignore-scripts
|
||||
|
||||
# Copy frontend source after dependencies are installed
|
||||
COPY frontend/ ./
|
||||
COPY frontend/ ./frontend/
|
||||
|
||||
# Build the frontend
|
||||
RUN npm run build
|
||||
RUN npm run build:frontend
|
||||
|
||||
FROM nginxinc/nginx-unprivileged:alpine
|
||||
|
||||
|
||||
Reference in New Issue
Block a user