Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: updating dockerfile for permissions

Andrejbfbac307fd8a
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index b15319802..669f73ff2 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -23,16 +23,9 @@ WORKDIR /app
COPY --from=base /app ./
-# Create data directory and set permissions
-RUN mkdir -p /data && \
- chown -R nobody:nobody /app /data && \
- chmod -R 755 /app /data
-
ENV NODE_ENV=production
WORKDIR /app/apps/api
-USER nobody
-
EXPOSE 1337
CMD ["bun", "run", "src/index.ts"]
\ No newline at end of file