Skip to content

Commit

Permalink
quick update to cut build time
Browse files Browse the repository at this point in the history
  • Loading branch information
DnOberon committed Jan 4, 2023
1 parent 51723b6 commit f92a835
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ RUN npm install cargo-cp-artifact --location=global
# Bundle app source
COPY . .

# Build the app
WORKDIR /srv/core_api/NodeLibraries/dl-fast-load
RUN cargo clean && npm install

WORKDIR /srv/core_api
RUN npm ci --include=dev
RUN npm run build:docker
RUN cd /srv/core_api/AdminWebApp && npm ci --include=dev && npm run build -- --dest /srv/core_api/dist/http_server/web_gui
Expand All @@ -46,7 +41,7 @@ RUN rm -rf /srv/core_api/AdminWebApp/node_modules
RUN rm -rf .env

FROM node:18.12-buster-slim as production
RUN sudo apt-get update
RUN apt-get update

WORKDIR /srv/core_api

Expand Down

0 comments on commit f92a835

Please sign in to comment.