From 4c0925a9c0b6d690b1aef8baf1c710992f5bad29 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 16 Oct 2024 15:45:48 -0400 Subject: [PATCH] [ALS-6967] Updates for all in one integration (#262) --- Dockerfile | 7 +------ Dockerfile.prod | 6 +----- vite.config.ts | 5 +++++ 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cea24ed..66ab24ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,22 +12,17 @@ RUN npm ci --omit dev FROM httpd:2.4.62-alpine RUN apk add --update openssl sed nodejs supervisor -#TODO: volume mount the certs + RUN mkdir -p ${HTTPD_PREFIX}/cert -COPY cert ${HTTPD_PREFIX}/cert -COPY httpd-vhosts.conf ${HTTPD_PREFIX}/conf/extra/httpd-vhosts.conf RUN sed -i '/^#Include conf.extra.httpd-vhosts.conf/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf - RUN sed -i '/^#LoadModule proxy_module/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule proxy_http_module/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule proxy_connect_module/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf - RUN sed -i '/^#LoadModule ssl_module modules\/mod_ssl.so/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule rewrite_module modules\/mod_rewrite.so/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule socache_shmcb_module modules\/mod_socache_shmcb.so/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN mkdir -p /usr/local/apache2/logs/ssl_mutex - RUN sed -i 's/Options Indexes FollowSymLinks/Options -Indexes +FollowSymLinks/' ${HTTPD_PREFIX}/conf/httpd.conf WORKDIR /app diff --git a/Dockerfile.prod b/Dockerfile.prod index 94647d17..58322156 100644 --- a/Dockerfile.prod +++ b/Dockerfile.prod @@ -12,17 +12,13 @@ RUN npm ci --omit dev FROM httpd:2.4.62-alpine RUN apk add --update openssl sed nodejs supervisor -#TODO: volume mount the certs + RUN mkdir -p ${HTTPD_PREFIX}/cert -COPY cert ${HTTPD_PREFIX}/cert -COPY httpd-vhosts.conf ${HTTPD_PREFIX}/conf/extra/httpd-vhosts.conf RUN sed -i '/^#Include conf.extra.httpd-vhosts.conf/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf - RUN sed -i '/^#LoadModule proxy_module/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule proxy_http_module/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule proxy_connect_module/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf - RUN sed -i '/^#LoadModule ssl_module modules\/mod_ssl.so/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule rewrite_module modules\/mod_rewrite.so/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf RUN sed -i '/^#LoadModule socache_shmcb_module modules\/mod_socache_shmcb.so/s/^#//' ${HTTPD_PREFIX}/conf/httpd.conf diff --git a/vite.config.ts b/vite.config.ts index 6ea69b82..529e4f26 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -5,5 +5,10 @@ import { defineConfig } from 'vite'; export default () => { return defineConfig({ plugins: [sveltekit(), purgeCss()], + build: { + rollupOptions: { + maxParallelFileOps: 10, + }, + }, }); };