salix/front/Dockerfile.test

22 lines
393 B
Docker

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 babel.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"]