34 lines
697 B
Docker
34 lines
697 B
Docker
|
FROM salix-back
|
||
|
EXPOSE 5000
|
||
|
|
||
|
# ENV TZ Europe/Madrid
|
||
|
|
||
|
# WORKDIR /front
|
||
|
|
||
|
# COPY /front/gulpfile.js ./
|
||
|
# COPY /front/webpack.config.js ./
|
||
|
# COPY modules modules
|
||
|
|
||
|
# RUN npm install \
|
||
|
# require-yaml \
|
||
|
# del@2.2.2 \
|
||
|
# plugin-error \
|
||
|
# minimist \
|
||
|
# gulp@4.0.2 gulp-wrap gulp-concat gulp-merge-json gulp-file gulp-yaml\
|
||
|
# webpack@5.83.1 webpack-merge@4.2.2 webpack-dev-server@3.11.0 html-webpack-plugin@5.5.1 \
|
||
|
# fancy-log \
|
||
|
# merge-stream@1.0.1 \
|
||
|
# fs-extra
|
||
|
WORKDIR /salix
|
||
|
|
||
|
COPY /dist dist
|
||
|
COPY /front front
|
||
|
COPY /front/gulpfile.js ./
|
||
|
COPY /front/webpack.config.js ./
|
||
|
|
||
|
RUN cd front && npm install
|
||
|
RUN npx gulp build
|
||
|
# RUN npx gulp front
|
||
|
|
||
|
CMD ["npx", "gulp", "front"]
|