Skip to content

Commit

Permalink
Restyled by whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits committed May 8, 2023
1 parent 44a17c8 commit 5ef0f92
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ COPY package.json .

COPY package-lock.json .

RUN npm install
RUN npm install

COPY . .

RUN node_modules/.bin/nest build
RUN node_modules/.bin/nest build

CMD npm run start:prod
CMD npm run start:prod
2 changes: 1 addition & 1 deletion frontend/.dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ node_modules
.angular
.vscode
Dockerfile
dist/
dist/
5 changes: 1 addition & 4 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ COPY package.json .

COPY package-lock.json .

RUN npm install
RUN npm install

COPY . .
RUN node_modules/.bin/ng analytics disable --global
RUN node_modules/.bin/ng build --configuration production --aot
#stage 2
FROM nginx:alpine
COPY --from=node /app/dist/frontend /usr/share/nginx/html



0 comments on commit 5ef0f92

Please sign in to comment.