forked from Kieran/snort
use unprivileged nginx image
closes https://github.com/v0l/snort/pull/567
This commit is contained in:
parent
2a6433a6b4
commit
92c90b40ee
@ -9,6 +9,6 @@ RUN yarn install --network-timeout 1000000
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx:mainline-alpine
|
||||
FROM nginxinc/nginx-unprivileged:mainline-alpine
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY --from=build /app/packages/app/build /usr/share/nginx/html
|
||||
|
@ -1,3 +1,3 @@
|
||||
FROM nginx:mainline-alpine
|
||||
FROM nginxinc/nginx-unprivileged:mainline-alpine
|
||||
COPY packages/app/build /usr/share/nginx/html
|
||||
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
|
Loading…
Reference in New Issue
Block a user