19 lines
291 B
Docker
19 lines
291 B
Docker
FROM back
|
|
EXPOSE 5000
|
|
|
|
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 ./
|
|
|
|
|
|
CMD ["npx", "gulp", "front"]
|