Add dockerfilec omment

Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
Fred Boniface 2023-08-30 20:28:46 +01:00
parent 5db9d8e52a
commit 0aa42c4743
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ COPY ./.npmrc ./
RUN npm install
COPY . .
# Ideally the tests should be run separately in a CI/CD workflow rather than during the build
# Currently, it does prevent a container being published with failing tests
RUN npm run test
RUN npm run build