mirror of
https://github.com/spacedeck/spacedeck-open.git
synced 2025-12-15 17:37:30 +01:00
basic import functionality; dockerfile fixes; session and cookie handling fixes
This commit is contained in:
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
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
|
||||
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
|
||||
|
||||
COPY app.js Dockerfile Gulpfile.js LICENSE /usr/src/app/
|
||||
COPY config /usr/src/app/config
|
||||
COPY helpers /usr/src/app/helpers
|
||||
COPY locales /usr/src/app/locales
|
||||
COPY middlewares /usr/src/app/middlewares
|
||||
COPY models /usr/src/app/models
|
||||
COPY public /usr/src/app/public
|
||||
COPY routes /usr/src/app/routes
|
||||
COPY styles /usr/src/app/styles
|
||||
COPY views /usr/src/app/views
|
||||
|
||||
RUN gulp all
|
||||
RUN npm cache clean
|
||||
|
||||
CMD [ "node", "app.js" ]
|
||||
|
||||
EXPOSE 9666
|
||||
|
||||
Reference in New Issue
Block a user