Skip to content

Commit 612399d

Browse files
author
Ubuntu
committed
Issue-175: New dockerfile based on ArchiveTeam#149
1 parent b3c1d24 commit 612399d

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

Dockerfile

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
1-
# grab-site
2-
#
3-
# VERSION 0.0.1
4-
5-
FROM lnl7/nix:2.3.7
6-
ENV TZ=Etc/UTC
7-
LABEL Description="Install and run the grab-site program via Nix" Vendor="ArchiveTeam/ArchiveBot" Version="0.0.1"
8-
EXPOSE 29000/tcp
9-
10-
RUN nix-env -iA \
11-
nixpkgs.bash \
12-
nixpkgs.grab-site
13-
14-
CMD gs-server & \
15-
grab-site 'https://community.fantasyflightgames.com/'
1+
FROM python:3.7.9-alpine
2+
RUN apk add --no-cache git gcc libxml2-dev musl-dev libxslt-dev g++ re2-dev libffi-dev patch openssl-dev \
3+
&& ln -s /usr/include/libxml2/libxml /usr/include/libxml \
4+
&& python -m pip install -U pip \
5+
&& pip3 install git+https://github.com/ArchiveTeam/grab-site.git
6+
WORKDIR /data
7+
ENTRYPOINT ["grab-site"]

0 commit comments

Comments
 (0)