Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -17,6 +17,9 @@ RUN go build -o remark -ldflags "-X main.revision=$(git rev-parse --abbrev-ref H
|
||||
|
||||
FROM node:9.4-alpine as build-frontend
|
||||
|
||||
ARG REMARK_URL
|
||||
ENV REMARK_URL $REMARK_URL
|
||||
|
||||
ADD web /srv/web
|
||||
RUN \
|
||||
cd /srv/web && \
|
||||
|
||||
@@ -23,7 +23,7 @@ Remark42 is a self-hosted, lightweight, and simple (yet functional) comment engi
|
||||
|
||||
* copy provided `docker-compose.yml` and customize for your needs
|
||||
* make sure you **don't keep** `DEV=true` for any non-development deployments
|
||||
* pull prepared images from docker hub and start - `docker-compose pull && docker compose up -d`
|
||||
* pull prepared images from docker hub and start - `docker-compose pull && docker-compose up -d`
|
||||
* alternatively compile from sources - `docker-compose build`
|
||||
|
||||
#### Parameters
|
||||
|
||||
+4
-1
@@ -2,7 +2,10 @@ version: '2'
|
||||
|
||||
services:
|
||||
remark:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
args:
|
||||
- REMARK_URL=${REMARK_URL}
|
||||
image: umputun/remark:master
|
||||
container_name: "remark"
|
||||
hostname: "remark"
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
|
||||
const webpack = require('webpack');
|
||||
@@ -31,7 +30,6 @@ const commonStyleLoaders = [
|
||||
loader: 'sass-loader',
|
||||
options: {
|
||||
includePaths: [path.resolve(__dirname, 'app')],
|
||||
// data: fs.readFileSync(path.resolve(__dirname, 'common/vars/vars.scss'), 'utf-8')
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user