feat: update deployment configuration and encrypted env loader
- Update Ansible playbooks and roles for application deployment - Add new Gitea/Traefik troubleshooting playbooks - Update Docker Compose configurations (base, local, staging, production) - Enhance EncryptedEnvLoader with improved error handling - Add deployment scripts (autossh setup, migration, secret testing) - Update CI/CD workflows and documentation - Add Semaphore stack configuration
This commit is contained in:
@@ -22,7 +22,8 @@ RUN apt-get update && apt-get install -y \
|
||||
# Install Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
|
||||
RUN composer install \
|
||||
RUN --mount=type=cache,target=/root/.composer/cache \
|
||||
composer install \
|
||||
--no-dev \
|
||||
--no-scripts \
|
||||
--no-autoloader \
|
||||
@@ -44,7 +45,8 @@ WORKDIR /app
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install npm dependencies
|
||||
RUN npm ci --production=false
|
||||
RUN --mount=type=cache,target=/root/.npm \
|
||||
npm ci --production=false
|
||||
|
||||
# Copy source files needed for build
|
||||
COPY resources ./resources
|
||||
|
||||
Reference in New Issue
Block a user