Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 571ab00918 | |||
| 27f5478dad |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "medassist-ng-backend",
|
"name": "medassist-ng-backend",
|
||||||
"version": "1.8.4",
|
"version": "1.8.5",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ services:
|
|||||||
- /tmp:noexec,nosuid,size=64m
|
- /tmp:noexec,nosuid,size=64m
|
||||||
- /var/cache/nginx:noexec,nosuid,size=64m
|
- /var/cache/nginx:noexec,nosuid,size=64m
|
||||||
- /var/run:noexec,nosuid,size=64m
|
- /var/run:noexec,nosuid,size=64m
|
||||||
- /etc/nginx/conf.d:noexec,nosuid,size=1m
|
- /etc/nginx/conf.d:noexec,nosuid,size=1m,uid=101,gid=101
|
||||||
cap_drop:
|
cap_drop:
|
||||||
- ALL
|
- ALL
|
||||||
|
|
||||||
|
|||||||
@@ -32,11 +32,6 @@ RUN npm run build
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
FROM nginxinc/nginx-unprivileged:1.27-alpine AS runner
|
FROM nginxinc/nginx-unprivileged:1.27-alpine AS runner
|
||||||
|
|
||||||
# Redirect envsubst output to /tmp (writable under read_only: true)
|
|
||||||
# and update nginx main config to include from there instead of /etc/nginx/conf.d/
|
|
||||||
ENV NGINX_ENVSUBST_OUTPUT_DIR=/tmp
|
|
||||||
RUN sed -i 's|include /etc/nginx/conf.d/\*.conf;|include /tmp/default.conf;|' /etc/nginx/nginx.conf
|
|
||||||
|
|
||||||
# Copy custom nginx config as template for envsubst processing
|
# Copy custom nginx config as template for envsubst processing
|
||||||
# nginx-unprivileged automatically substitutes env vars in .template files
|
# nginx-unprivileged automatically substitutes env vars in .template files
|
||||||
COPY nginx.conf /etc/nginx/templates/default.conf.template
|
COPY nginx.conf /etc/nginx/templates/default.conf.template
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "medassist-ng-frontend",
|
"name": "medassist-ng-frontend",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "1.8.4",
|
"version": "1.8.5",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
Reference in New Issue
Block a user