Skip to content

Commit

Permalink
[ALS-6967] Updates for all in one integration (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesPeck authored Oct 16, 2024
1 parent 5c64a73 commit 4c0925a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 1 addition & 5 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ import { defineConfig } from 'vite';
export default () => {
return defineConfig({
plugins: [sveltekit(), purgeCss()],
build: {
rollupOptions: {
maxParallelFileOps: 10,
},
},
});
};

0 comments on commit 4c0925a

Please sign in to comment.