Skip to content

Commit

Permalink
Merge pull request #177 from WadeBarnes/main
Browse files Browse the repository at this point in the history
Fix permissions issue with Caddy image
  • Loading branch information
WadeBarnes committed Mar 15, 2023
2 parents da22519 + 4ef6b4b commit f30ed8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ RUN npm run build

# production stage
FROM ${runtime_image} as production-stage
COPY --from=build-stage /app/dist /srv
COPY --from=build-stage /app/dist /srv

# Fix permissions issue with Caddy image
# - Between version 2.6.2 and 2.6.3 there were some permissions changes on the official images that stopped them from working on OpenShift.
# - This update resolves that permissions issue for OCP.
RUN chown 1001:root /usr/bin/caddy

0 comments on commit f30ed8b

Please sign in to comment.