add husky and lint-staged to ensure commits are formatted
This commit is contained in:
@@ -36,6 +36,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
|
||||
@@ -62,4 +65,4 @@ EXPOSE 3000
|
||||
|
||||
ENV PORT 3000
|
||||
|
||||
CMD ["npm", "run", "start"]
|
||||
CMD ["npm", "run", "start"]
|
||||
|
||||
Reference in New Issue
Block a user