Fixed Dockerfile
This commit is contained in:
parent
2ad55c34ea
commit
ba258a96f6
@ -15,8 +15,8 @@ WORKDIR /opt/stackedit
|
|||||||
COPY package.json /opt/stackedit/
|
COPY package.json /opt/stackedit/
|
||||||
COPY yarn.lock /opt/stackedit/
|
COPY yarn.lock /opt/stackedit/
|
||||||
COPY gulpfile.js /opt/stackedit/
|
COPY gulpfile.js /opt/stackedit/
|
||||||
RUN npm install
|
RUN npm install \
|
||||||
&& npm cache clean --force
|
&& npm cache clean --force \
|
||||||
&& npm run build
|
&& npm run build
|
||||||
COPY . /opt/stackedit
|
COPY . /opt/stackedit
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
Loading…
Reference in New Issue
Block a user