forked from Botanical/BotanJS
Reduced some image 301 round trips
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
Reference in New Issue
Block a user