forked from coreroller/coreroller
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker] Fixes coreroller/rollerd image static assets (coreroller#75)
- Somehow missed the * in the last PR
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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"] |