Precompress assets and set the right cache headers

This commit is contained in:
Quentin Gliech
2024-11-15 00:53:07 +01:00
parent 50934a53cd
commit f022eb09a2
5 changed files with 26 additions and 18 deletions

View File

@@ -2,9 +2,3 @@ FROM nginxinc/nginx-unprivileged:alpine
COPY ./dist /app
COPY config/nginx.conf /etc/nginx/conf.d/default.conf
USER root
RUN rm -rf /usr/share/nginx/html
USER 101