Skip to content

Commit fc83cb7

Browse files
Merge pull request #18 from anatol-1988/master
Configuration with Docker image built locally
2 parents 5e20ede + d87f9bd commit fc83cb7

File tree

3 files changed

+2775
-3
lines changed

3 files changed

+2775
-3
lines changed

app/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
FROM node:alpine
1+
FROM node:8.1.2-alpine
22
RUN apk add --no-cache make gcc g++ python
33
RUN rm -rf /usr/src/pixi/web/uploads
44
RUN mkdir -p /usr/src/pixi/web
55
WORKDIR /usr/src/pixi/web
66
COPY package.json /usr/src/pixi/web
7+
COPY package-lock.json /usr/src/pixi/web
78

89
RUN npm install --save
910
RUN npm install --save express
1011

1112
COPY . /usr/src/pixi/web
1213
COPY uploads/ /usr/src/pixi/web/uploads/
1314

14-
RUN npm install -g nodemon
15+
RUN npm install --unsafe-perm -g nodemon@1.11.0
1516

1617
EXPOSE 8000
1718
CMD ["nodemon", "/usr/src/pixi/web/server.js"]

0 commit comments

Comments
 (0)