Reduced some image 301 round trips

This commit is contained in:
2022-04-05 18:13:40 +09:00
parent ec55e174db
commit 16f112485a
23 changed files with 92 additions and 48 deletions

View File

@@ -10,16 +10,15 @@ RUN chown www-data:www-data . -R
RUN pip3 install Flask redis compressinja Celery
COPY . /app/
ADD [ "https://github.com/tgckpg/BotanJS/releases/download/compressors/closure.jar" \
, "https://github.com/tgckpg/BotanJS/releases/download/compressors/yuicompressor.jar" \
, "/opt/utils/" ]
RUN chmod 644 /opt/utils/*.jar
COPY . /app/
USER www-data
EXPOSE 5000
ENTRYPOINT ["setup/docker.start"]