change services path

This commit is contained in:
deflax 2024-05-04 02:28:50 +03:00
parent 227c6fafe2
commit 8c238ad864
3 changed files with 5 additions and 7 deletions

View file

@ -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:

View file

@ -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/"]

View file

@ -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: [
{