Merge branch 'master-patch-466e' into 'master'
Update Gulp See merge request ccsolutions.io/open-source/templates/django!3
This commit is contained in:
commit
32708002d4
@ -1,19 +1,13 @@
|
||||
FROM debian:unstable-slim
|
||||
FROM node:18-alpine
|
||||
|
||||
# set work directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# install software
|
||||
RUN apt update
|
||||
RUN apt -y upgrade
|
||||
# dependencies
|
||||
RUN apt install -y build-essential nodejs npm
|
||||
COPY package.json .
|
||||
COPY gulpfile.js .
|
||||
|
||||
# gulp
|
||||
RUN npm install -g gulp-cli
|
||||
|
||||
# Add package.json
|
||||
COPY package.json package.json
|
||||
|
||||
# dependencies gulp
|
||||
RUN npm i --global gulp-cli
|
||||
RUN npm i
|
||||
RUN npm cache clean --force
|
||||
|
||||
CMD gulp
|
||||
|
||||
|
@ -78,3 +78,14 @@ services:
|
||||
restart: "no"
|
||||
expose:
|
||||
- 1025
|
||||
|
||||
gulp:
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: Dockerfile.gulp
|
||||
container_name: ${PROJECT_NAME}-gulp
|
||||
entrypoint: gulp
|
||||
restart: "no"
|
||||
volumes:
|
||||
- .:/usr/src/app/
|
||||
- /usr/src/app/node_modules
|
Loading…
Reference in New Issue
Block a user