Skip to content

Commit

Permalink
[docker] Fixes coreroller/rollerd image static assets (coreroller#75)
Browse files Browse the repository at this point in the history
- Somehow missed the * in the last PR
  • Loading branch information
captn3m0 authored and tegioz committed Jul 30, 2018
1 parent fa374e6 commit 1a1f412
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/docker/rollerd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 19,7 @@ RUN set -x \

FROM node:9-alpine as assets
WORKDIR /build

ARG GIT_REMOTE_URL=https://github.com/coreroller/coreroller
ARG GIT_BRANCH=master

Expand All @@ -31,8 32,10 @@ RUN apk --no-cache add git \
FROM alpine:3.8
RUN apk --no-cache add ca-certificates tzdata \
&& mkdir -p /coreroller/static

COPY --from=builder /build/coreroller/backend/bin/rollerd /coreroller/
COPY --from=assets /build/coreroller/frontend/built/* /coreroller/static/
COPY --from=assets /build/coreroller/frontend/built/ /coreroller/static/

ENV COREROLLER_DB_URL "postgres://[email protected]:5432/coreroller?sslmode=disable"
EXPOSE 8000
CMD ["/coreroller/rollerd", "-http-static-dir=/coreroller/static"]

0 comments on commit 1a1f412

Please sign in to comment.