Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ COPY app ${APP_ROOT}
RUN chown -R 1001:0 ${APP_ROOT}
USER 1001
WORKDIR ${APP_ROOT}
RUN npm ci && npm run build
RUN npm ci --ignore-scripts --omit-dev && npm run build

#
# Build the frontend
Expand All @@ -37,7 +37,7 @@ COPY frontend ${APP_ROOT}
RUN chown -R 1001:0 ${APP_ROOT}
USER 1001
WORKDIR ${APP_ROOT}
RUN npm ci && npm run build
RUN npm ci --ignore-scripts --omit-dev && npm run build

#
# Create the final container image
Expand Down Expand Up @@ -65,7 +65,7 @@ WORKDIR ${APP_ROOT}
# Install Application
RUN chown -R 1001:0 ${APP_ROOT}
USER 1001
RUN npm ci --omit=dev && npm run prisma:generate
RUN npm ci --ignore-scripts --omit=dev && npm run prisma:generate

EXPOSE ${APP_PORT}
CMD ["node", "--max-old-space-size=50", "./sbin/server.js"]
1 change: 1 addition & 0 deletions app/commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ['@commitlint/config-conventional'] };
Loading
Loading