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:
10
Dockerfile
10
Dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user