Skip to content

Commit

Permalink
Arreglando security hotsposts de npm install
Browse files Browse the repository at this point in the history
  • Loading branch information
baraganio committed Apr 28, 2024
1 parent b9c721c commit d3d7134
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion gatewayservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /usr/src/gatewayservice
COPY package*.json ./

# Install app dependencies
RUN npm install
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion gatewayservice/gateway-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const YAML = require('yaml')


const app = express();
app.disable('x-powerde-by');
app.disable('x-powered-by');
const port = 8000;

const originEndpoint = process.env.REACT_APP_API_ORIGIN_ENDPOINT || 'http://localhost:3000';
Expand Down
2 changes: 1 addition & 1 deletion questions/creationservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /usr/src/creationservice
COPY package*.json ./

# Install app dependencies
RUN npm install
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion questions/retrieveservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /usr/src/retrieveservice
COPY package*.json ./

# Install app dependencies
RUN npm install
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion users/authservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /usr/src/authservice
COPY package*.json ./

# Install app dependencies
RUN npm install
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion users/userservice/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR /usr/src/userservice
COPY package*.json ./

# Install app dependencies
RUN npm install
RUN npm install --ignore-scripts

# Copy the app source code to the working directory
COPY . .
Expand Down

0 comments on commit d3d7134

Please sign in to comment.