spacedeck-open/Dockerfile

20 lines
390 B
Docker
Raw Permalink Normal View History

2017-04-07 10:50:48 +02:00
FROM spacedeck/docker-baseimage:latest
ENV NODE_ENV production
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app/
RUN npm install
2017-04-07 15:34:33 +02:00
RUN npm install gulp-rev-replace gulp-clean gulp-fingerprint gulp-rev gulp-rev-all gulp-rev-replace
RUN npm install -g --save-dev gulp
2017-04-07 10:50:48 +02:00
COPY . /usr/src/app
2017-04-07 15:34:33 +02:00
RUN gulp styles
2017-04-07 10:50:48 +02:00
RUN npm cache clean
CMD [ "npm", "start" ]
EXPOSE 9666