1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-09 16:05:35 +00:00

Run bower install on the docker build (#128)

This commit is contained in:
Djerfy
2019-11-13 16:46:05 +01:00
committed by Antoine
parent 34197e0148
commit 8fa005ee9b
2 changed files with 10 additions and 2 deletions

View File

@@ -1,2 +1,10 @@
FROM alpine:3.10 AS builder
WORKDIR /app
COPY . /app
RUN set -xe && \
apk -U add git curl wget npm && \
npm install -g bower && \
bower install --allow-root
FROM httpd:2.4
COPY . /usr/local/apache2/htdocs/
COPY --from=builder /app /usr/local/apache2/htdocs