mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Only deploy production packages in Dockerfile
This commit is contained in:
parent
55c56e5da8
commit
88815ec90a
|
@ -1,9 +1,9 @@
|
||||||
FROM node
|
FROM node:7-alpine
|
||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
|
||||||
COPY package.json /usr/src/package.json
|
COPY package.json /usr/src/package.json
|
||||||
RUN npm install
|
RUN npm install --production
|
||||||
|
|
||||||
COPY src /usr/src
|
COPY src /usr/src
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user