We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9234c56 commit d87f9bdCopy full SHA for d87f9bd
app/Dockerfile
@@ -1,17 +1,18 @@
1
-FROM node:alpine
+FROM node:8.1.2-alpine
2
RUN apk add --no-cache make gcc g++ python
3
RUN rm -rf /usr/src/pixi/web/uploads
4
RUN mkdir -p /usr/src/pixi/web
5
WORKDIR /usr/src/pixi/web
6
COPY package.json /usr/src/pixi/web
7
+COPY package-lock.json /usr/src/pixi/web
8
9
RUN npm install --save
10
RUN npm install --save express
11
12
COPY . /usr/src/pixi/web
13
COPY uploads/ /usr/src/pixi/web/uploads/
14
-RUN npm install -g nodemon
15
+RUN npm install --unsafe-perm -g nodemon@1.11.0
16
17
EXPOSE 8000
18
CMD ["nodemon", "/usr/src/pixi/web/server.js"]
0 commit comments