atikur-rabbi commited on
Commit
efe09f5
1 Parent(s): 2136e1f
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -5,11 +5,11 @@ RUN apt-get update && apt-get install -y curl
5
  RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
6
  RUN apt-get install -y nodejs
7
 
8
- # user root
9
- USER root
10
 
11
  # Create app directory
12
- WORKDIR /usr/src/app
 
13
 
14
  # Install app dependencies
15
  # A wildcard is used to ensure both package.json AND package-lock.json are copied
 
5
  RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
6
  RUN apt-get install -y nodejs
7
 
8
+ RUN useradd -m huggingface
 
9
 
10
  # Create app directory
11
+ COPY . /home/huggingface/easy-diffusion
12
+ WORKDIR /home/huggingface/easy-diffusion
13
 
14
  # Install app dependencies
15
  # A wildcard is used to ensure both package.json AND package-lock.json are copied