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

View File

@ -5,6 +5,7 @@ COPY ./.npmrc ./
RUN npm install RUN npm install
COPY . . COPY . .
# Ideally the tests should be run separately in a CI/CD workflow rather than during the build # 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 test
RUN npm run build RUN npm run build