temporarily use root user
parent
ec5cfc30c5
commit
651d997a15
|
@ -1,5 +1,7 @@
|
||||||
FROM registry.labs.0x.no/env
|
FROM registry.labs.0x.no/env
|
||||||
|
|
||||||
|
USER root
|
||||||
|
|
||||||
RUN apk add --no-cache build-base
|
RUN apk add --no-cache build-base
|
||||||
|
|
||||||
COPY . /usr/local/fm
|
COPY . /usr/local/fm
|
||||||
|
@ -7,5 +9,7 @@ COPY . /usr/local/fm
|
||||||
RUN cd /usr/local/fm \
|
RUN cd /usr/local/fm \
|
||||||
&& yarn install \
|
&& yarn install \
|
||||||
&& yarn cache clean
|
&& yarn cache clean
|
||||||
|
|
||||||
|
USER ambrose
|
||||||
|
|
||||||
CMD ["node", "/usr/local/fm/index.js"]
|
CMD ["node", "/usr/local/fm/index.js"]
|
||||||
|
|
Loading…
Reference in New Issue