mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
add husky and lint-staged to ensure commits are formatted
This commit is contained in:
@ -22,6 +22,9 @@ RUN apk add --no-cache libc6-compat
|
||||
# Copy our current monorepo
|
||||
COPY . .
|
||||
|
||||
# Disable husky from installing hooks
|
||||
ENV HUSKY 0
|
||||
|
||||
RUN npm ci
|
||||
|
||||
RUN npm run build --workspaces
|
||||
@ -47,4 +50,4 @@ EXPOSE 3000
|
||||
|
||||
ENV PORT 3000
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["npm", "run", "start"]
|
||||
|
||||
Reference in New Issue
Block a user