1
0
Fork 0

temporarily use root user

pull/2/head
Ambrose Chua 2018-04-02 20:28:39 +08:00 committed by GitHub
parent ec5cfc30c5
commit 651d997a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
FROM registry.labs.0x.no/env
USER root
RUN apk add --no-cache build-base
COPY . /usr/local/fm
@ -7,5 +9,7 @@ COPY . /usr/local/fm
RUN cd /usr/local/fm \
&& yarn install \
&& yarn cache clean
USER ambrose
CMD ["node", "/usr/local/fm/index.js"]