mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Examples folder default permission
When running the container and building the examples, the following error occurs: Error: EACCES: permission denied, open '/home/node/examples/browser/browser-webpack-example/bundle.js' Commands used: ``` docker build -t orbit-db -f docker/Dockerfile . --no-cache docker run -ti --rm orbit-db npm run build:examples ```
This commit is contained in:
parent
e16794cf22
commit
f9c0922b2f
@ -3,12 +3,14 @@ FROM node:10
|
||||
ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
|
||||
|
||||
WORKDIR /home/node
|
||||
USER node
|
||||
|
||||
COPY package.json ./
|
||||
COPY examples/ ./examples
|
||||
COPY src/ ./src
|
||||
COPY conf/ ./conf
|
||||
|
||||
RUN chown -R node:node package.json examples src conf
|
||||
USER node
|
||||
|
||||
RUN npm install babel-cli webpack \
|
||||
&& npm install
|
||||
|
Loading…
x
Reference in New Issue
Block a user