added eslint check to docker test

This commit is contained in:
Sean Macfarlane
2020-05-12 18:59:04 -04:00
parent fe2f30717a
commit 448d7cb6b3
2 changed files with 2 additions and 1 deletions

View File

@@ -29,4 +29,5 @@ EXPOSE 3000
COPY --from=build /app /app COPY --from=build /app /app
RUN npm run eslint
CMD ["npm", "start"] CMD ["npm", "start"]

View File

@@ -5,4 +5,4 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile.test dockerfile: Dockerfile.test
command: npm run test command: npm test