mirror of
https://gitlab.com/mobicoop/v3/service/user.git
synced 2025-12-31 04:32:39 +00:00
ci with broker --check
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
###################
|
||||
# BUILD FOR LOCAL DEVELOPMENT
|
||||
# BUILD FOR CI TESTING
|
||||
###################
|
||||
|
||||
FROM node:18-alpine3.16
|
||||
@@ -19,5 +19,8 @@ COPY . .
|
||||
# Creates a "dist" folder
|
||||
RUN npm run build
|
||||
|
||||
# Execute test suite
|
||||
# Execute unit tests
|
||||
RUN npm run test:unit
|
||||
|
||||
# Start the server using the production build
|
||||
CMD [ "node", "dist/main.js" ]
|
||||
|
||||
Reference in New Issue
Block a user