almost ready for release, pending updates to registry...

This commit is contained in:
Ronald A. Richardson
2024-07-19 20:14:12 +08:00
parent 76859aeb26
commit 9ec786d892
10 changed files with 21 additions and 52 deletions

View File

@@ -98,33 +98,6 @@ RUN chmod -R 755 /fleetbase/api/storage
# Set permissions for deploy script
RUN chmod +x /fleetbase/api/deploy.sh
## -------------------------
## -- Start Console Setup --
## -------------------------
# Set working directory
WORKDIR /fleetbase/console
# Copy pnpm-lock.yaml (or package.json) into the directory /app in the container
COPY ./console/package.json ./console/pnpm-lock.yaml ./console/.npmrc /fleetbase/console/
# Copy over .npmrc if applicable
# COPY ./console/.npmr[c] /fleetbase/console/
RUN cat /fleetbase/console/.npmrc
# Install app dependencies
RUN pnpm install
# Copy the console directory contents into the container at /app
COPY ./console /fleetbase/console/
# Build the application
RUN pnpm build --environment $ENVIRONMENT
## -------------------------
## -- End Console Setup --
## -------------------------
# Scheduler base stage
FROM base as scheduler-base