Update Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
CHANGED
|
@@ -13,6 +13,20 @@ ENV IMAGE_QUALITY="80"
|
|
| 13 |
ENV WORKER_THREADS="4"
|
| 14 |
ENV COMPRESSION_EFFORT="6"
|
| 15 |
ENV FORCE_LOSSLESS="false"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
ENV APP_DIR="/app"
|
| 17 |
ENV APP_NAME="image"
|
| 18 |
ENV APP_SUFFIX="flow"
|
|
|
|
| 13 |
ENV WORKER_THREADS="4"
|
| 14 |
ENV COMPRESSION_EFFORT="6"
|
| 15 |
ENV FORCE_LOSSLESS="false"
|
| 16 |
+
|
| 17 |
+
RUN mkdir -p /app/static/images/metadata \
|
| 18 |
+
/app/static/images/original/landscape \
|
| 19 |
+
/app/static/images/original/portrait \
|
| 20 |
+
/app/static/images/landscape/webp \
|
| 21 |
+
/app/static/images/landscape/avif \
|
| 22 |
+
/app/static/images/portrait/webp \
|
| 23 |
+
/app/static/images/portrait/avif \
|
| 24 |
+
/app/static/images/gif
|
| 25 |
+
|
| 26 |
+
RUN chmod -R 777 /app/static/images
|
| 27 |
+
|
| 28 |
+
RUN touch /app/.env && chmod 666 /app/.env
|
| 29 |
+
|
| 30 |
ENV APP_DIR="/app"
|
| 31 |
ENV APP_NAME="image"
|
| 32 |
ENV APP_SUFFIX="flow"
|