Skip to content

Commit

Permalink
feat(testing): add testing in docker environment
Browse files Browse the repository at this point in the history
add rifraf to remove directory
  • Loading branch information
RyuuGan committed Feb 11, 2022
1 parent b2e2437 commit 30fcfa8
Show file tree
Hide file tree
Showing 5 changed files with 5,196 additions and 272 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
from node:16-stretch

WORKDIR /sol-merger
COPY test-cli.sh test-docker-entrypoint.sh package.json package-lock.json tsconfig.json tsconfig.app.json tslint.json ./
COPY test test/
ADD dist dist/
ENV NPM_REGISTRY_URL=http://localhost:4873
ENV NPM_USERNAME=admin
ENV NPM_PASSWORD=admin
ENV NPM_EMAIL=admin@example.com
ENV NPM_SCOPE=test-org
RUN npm i
# RUN npm run build
CMD /sol-merger/test-docker-entrypoint.sh
Loading

0 comments on commit 30fcfa8

Please sign in to comment.