mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
almost ready for release, pending updates to registry...
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user