2024-01-04 14:45:15 +00:00
|
|
|
FROM back
|
2023-12-19 14:32:39 +00:00
|
|
|
EXPOSE 5000
|
2024-01-08 14:47:47 +00:00
|
|
|
WORKDIR /salix
|
2023-12-19 14:32:39 +00:00
|
|
|
|
|
|
|
COPY front front
|
2024-01-04 14:45:15 +00:00
|
|
|
RUN npm i -g jest
|
2023-12-19 14:32:39 +00:00
|
|
|
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 ./
|
2024-01-08 14:47:47 +00:00
|
|
|
COPY /front/salix ./front/salix
|
|
|
|
COPY /front/core ./front/core
|
2023-12-19 14:32:39 +00:00
|
|
|
|
|
|
|
CMD ["npx", "gulp", "front"]
|