summaryrefslogtreecommitdiff
path: root/images/paste/Dockerfile
diff options
context:
space:
mode:
authorTill Höppner2017-10-01 22:30:58 +0200
committerTill Höppner2017-10-01 22:30:58 +0200
commit8466bf0f98d4029b93d4e2a20326e323284c4ac4 (patch)
treeccc08025af121c8e7795f2db187cec83a6fb6b09 /images/paste/Dockerfile
parent5e27b1bcd81abb4c96e47b60410df7033af3206a (diff)
downloadserver-8466bf0f98d4029b93d4e2a20326e323284c4ac4.tar.gz
server-8466bf0f98d4029b93d4e2a20326e323284c4ac4.tar.xz
server-8466bf0f98d4029b93d4e2a20326e323284c4ac4.zip
Don't build pbs anymore
Diffstat (limited to 'images/paste/Dockerfile')
-rw-r--r--images/paste/Dockerfile7
1 files changed, 2 insertions, 5 deletions
diff --git a/images/paste/Dockerfile b/images/paste/Dockerfile
index 9eedd40..460061d 100644
--- a/images/paste/Dockerfile
+++ b/images/paste/Dockerfile
@@ -7,11 +7,6 @@ RUN apk add --no-cache git python3 py3-pip nodejs nodejs-npm graphicsmagick
RUN git clone --single-branch --depth=1 --recursive https://github.com/ptpb/pb /app/pb
RUN cd /app/pb \
- && npm install -g grunt-cli \
- && npm install && (cd node_modules/pbs; npm install) \
- && grunt
-
-RUN cd /app/pb \
&& pip3 install --user -r requirements.txt
FROM server_runit-edge
@@ -22,3 +17,5 @@ COPY --from=builder /root/.local /root/.local
ADD pb/config.yaml /root/.config/pb/config.yaml
ADD uwsgi/pb.ini /app/pb.ini
+
+EXPOSE 80