salix/front/Dockerfile.test

21 lines
367 B
Docker
Raw Normal View History

FROM back
EXPOSE 5000
WORKDIR /salix
COPY front front
RUN npm i -g jest
RUN cd front && npm install --ci
COPY modules modules
COPY dist dist
COPY jest-front.js ./
COPY jest.front.config.js ./
COPY fileMock.js ./
COPY /front/gulpfile.js ./
COPY /front/webpack.config.js ./
COPY /front/salix ./front/salix
COPY /front/core ./front/core
CMD ["npx", "gulp", "front"]