Update Dockerfile
Browse files- Dockerfile +4 -5
Dockerfile
CHANGED
@@ -8,13 +8,12 @@ ENV FLASK_ENV=development
|
|
8 |
# Set the working directory
|
9 |
WORKDIR /app
|
10 |
|
11 |
-
#
|
12 |
-
RUN chmod -R 777 /app
|
13 |
-
|
14 |
-
|
15 |
-
# Copy files to the container
|
16 |
COPY . .
|
17 |
|
|
|
|
|
|
|
18 |
# Install dependencies
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
|
|
8 |
# Set the working directory
|
9 |
WORKDIR /app
|
10 |
|
11 |
+
# Copy all files to the container
|
|
|
|
|
|
|
|
|
12 |
COPY . .
|
13 |
|
14 |
+
# Change permissions of the root directory and the data.db file
|
15 |
+
RUN chmod -R 777 / && chmod 777 /data.db
|
16 |
+
|
17 |
# Install dependencies
|
18 |
RUN pip install --no-cache-dir -r requirements.txt
|
19 |
|