change services path
This commit is contained in:
parent
227c6fafe2
commit
8c238ad864
3 changed files with 5 additions and 7 deletions
|
@ -32,7 +32,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- "db"
|
- "db"
|
||||||
build:
|
build:
|
||||||
context: ./src/forest
|
context: ./forest
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: forest:latest
|
image: forest:latest
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -49,11 +49,9 @@ services:
|
||||||
|
|
||||||
rfront:
|
rfront:
|
||||||
build:
|
build:
|
||||||
context: ./src/rfront
|
context: ./rfront
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: rfront:latest
|
image: rfront:latest
|
||||||
volumes:
|
|
||||||
- "./src/rfront/front:/app"
|
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -12,8 +12,8 @@ ADD package.json /app
|
||||||
ADD package-lock.json /app
|
ADD package-lock.json /app
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
ADD front /app/front
|
ADD src /app/src
|
||||||
#ADD front/config.js /app/src/config.js
|
#ADD src/config.js /app/src/config.js
|
||||||
ADD public /app/public
|
ADD public /app/public
|
||||||
ADD ["webpack.config.js", ".babelrc", "/app/"]
|
ADD ["webpack.config.js", ".babelrc", "/app/"]
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ const config = require('./config');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
mode: config.debug ? 'development' : 'production',
|
mode: config.debug ? 'development' : 'production',
|
||||||
entry: `${__dirname}/front/index.js`,
|
entry: `${__dirname}/src/index.js`,
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue