parent
061699f769
commit
bf7aed7c46
@ -1,11 +1,12 @@
|
|||||||
FROM node:current-alpine
|
FROM node:13.7.0
|
||||||
|
|
||||||
COPY . /home/node/green
|
COPY . /home/node/green
|
||||||
WORKDIR /home/node/green
|
WORKDIR /home/node/green
|
||||||
|
RUN apt update
|
||||||
|
RUN apt install redis-server -y
|
||||||
RUN npm install -g gulp
|
RUN npm install -g gulp
|
||||||
RUN npm install --save-dev
|
RUN yarn install
|
||||||
RUN npm rebuild node-sass
|
|
||||||
RUN gulp
|
RUN gulp
|
||||||
COPY . .
|
COPY . .
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["npm" , "run"]
|
CMD ["redis-server", "&", "node" , "./dist"]
|
||||||
|
Loading…
Reference in New Issue