add gitignore
Browse files- .gitignore +1 -0
- 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 |
|