1
0
Fork 0
mirror of synced 2024-06-22 04:40:15 +12:00
waifu2x/Dockerfile

25 lines
579 B
Docker
Raw Normal View History

2016-09-02 03:34:00 +12:00
FROM kaixhin/cuda-torch
RUN apt-get update && apt-get install -y --no-install-recommends --force-yes \
libsnappy-dev \
graphicsmagick \
libgraphicsmagick1-dev \
libssl-dev \
ca-certificates \
git && \
rm -rf /var/lib/apt/lists/*
# https://github.com/nagadomi/waifu2x
RUN \
luarocks install graphicsmagick && \
luarocks install lua-csnappy && \
luarocks install md5 && \
luarocks install uuid && \
luarocks install csvigo && \
PREFIX=$HOME/torch/install luarocks install turbo && \
luarocks install cudnn
COPY . /root/waifu2x
WORKDIR /root/waifu2x