mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 20:38:17 +03:00
changed user too early
This commit is contained in:
+1
-1
@@ -1,8 +1,8 @@
|
||||
FROM node:16
|
||||
WORKDIR /app
|
||||
COPY --chown=node:node . /app
|
||||
USER node
|
||||
RUN apt-get update && rm -rf /var/lib/apt/lists/*
|
||||
RUN npm install -g pnpm && pnpm i
|
||||
USER node
|
||||
HEALTHCHECK --interval=15s --timeout=5s --start-period=20s CMD curl -f http://localhost:8080/api/v1/status || exit 1
|
||||
CMD pnpm start
|
||||
|
||||
Reference in New Issue
Block a user