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:
|
||||
- "db"
|
||||
build:
|
||||
context: ./src/forest
|
||||
context: ./forest
|
||||
dockerfile: Dockerfile
|
||||
image: forest:latest
|
||||
volumes:
|
||||
|
@ -49,11 +49,9 @@ services:
|
|||
|
||||
rfront:
|
||||
build:
|
||||
context: ./src/rfront
|
||||
context: ./rfront
|
||||
dockerfile: Dockerfile
|
||||
image: rfront:latest
|
||||
volumes:
|
||||
- "./src/rfront/front:/app"
|
||||
ports:
|
||||
- 3000:3000
|
||||
environment:
|
||||
|
|
|
@ -12,8 +12,8 @@ ADD package.json /app
|
|||
ADD package-lock.json /app
|
||||
RUN npm ci
|
||||
|
||||
ADD front /app/front
|
||||
#ADD front/config.js /app/src/config.js
|
||||
ADD src /app/src
|
||||
#ADD src/config.js /app/src/config.js
|
||||
ADD public /app/public
|
||||
ADD ["webpack.config.js", ".babelrc", "/app/"]
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ const config = require('./config');
|
|||
|
||||
module.exports = {
|
||||
mode: config.debug ? 'development' : 'production',
|
||||
entry: `${__dirname}/front/index.js`,
|
||||
entry: `${__dirname}/src/index.js`,
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue