Skip to content

Commit

Permalink
Merge pull request #73 from DiSSCo/hotfix/dockerfile-root
Browse files Browse the repository at this point in the history
Run as nonroot
  • Loading branch information
southeo authored Dec 15, 2023
2 parents 283c27b + 16a90a0 commit 65f71a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-model/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM nginx:stable-alpine3.17-slim
FROM nginxinc/nginx-unprivileged:alpine3.18-slim

COPY ./nginx/nginx.conf /etc/nginx/nginx.conf

COPY annotations/0.1.0/schema/annotations.json schema-root/schemas/annotations/0.1.0/annotation.json
COPY ./annotations/0.1.0/schema/annotations.json schema-root/schemas/annotations/0.1.0/annotation.json

COPY ./fdo-profiles/0.1.0/doi-kernel/schema/ schema-root/schemas/fdo-profiles/0.1.0/
COPY ./fdo-profiles/0.1.0/handle-kernel/schema/ schema-root/schemas/fdo-profiles/0.1.0/
Expand Down
2 changes: 2 additions & 0 deletions data-model/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
worker_processes auto;

pid /tmp/nginx.pid;

events {
}

Expand Down

0 comments on commit 65f71a9

Please sign in to comment.