vietlethe commited on
Commit
8d565f7
1 Parent(s): c01c87c

add gitignore

Browse files
Files changed (2) hide show
  1. .gitignore +1 -0
  2. Dockerfile +6 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ __pycache__
Dockerfile CHANGED
@@ -1,6 +1,12 @@
1
  FROM python:3.10
2
 
3
  WORKDIR /app
 
 
 
 
 
 
4
  RUN mkdir ./texteditor-model
5
  COPY . .
6
 
 
1
  FROM python:3.10
2
 
3
  WORKDIR /app
4
+
5
+ USER root
6
+ RUN mkdir -p /root/.cache
7
+ RUN chown -R $USER:$USER /root/.cache
8
+ USER $USER
9
+
10
  RUN mkdir ./texteditor-model
11
  COPY . .
12