Skip to content

Commit

Permalink
#1322 add support for hardened container environments
Browse files Browse the repository at this point in the history
  • Loading branch information
bahrlukas authored and ccasher committed Apr 15, 2024
1 parent d002768 commit 5260852
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docker/nginx.conf
@@ -1,9 +1,10 @@
events {
}
pid /tmp/nginx.pid;

http {
server {
listen 80;
listen 8080;
include /etc/nginx/mime.types;
root /var/www;
index index.html index.htm;
Expand Down
2 changes: 1 addition & 1 deletion packages/client/Dockerfile
Expand Up @@ -5,6 +5,6 @@ COPY ./build /app/build

RUN yarn install --immutable

FROM nginx:stable-alpine
FROM nginxinc/nginx-unprivileged:1.25
COPY --from=build /app/build /var/www
CMD ["nginx", "-g", "daemon off;"]

0 comments on commit 5260852

Please sign in to comment.