Skip to content

Commit

Permalink
Remove landing build process from client Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dreglad committed Jan 21, 2022
1 parent 197ac94 commit a71b047
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
ARG NODE_IMAGE_TAG=node:14

# ========================================
# Landing page
# ========================================
FROM $NODE_IMAGE_TAG as landing-build
WORKDIR /app

# Install dependencies
COPY landing/package.json landing/yarn.lock ./
RUN yarn install

# Build landing page
COPY landing ./
RUN yarn build


# ========================================
# Angular app dependencies
# ========================================
Expand Down Expand Up @@ -60,7 +45,6 @@ ENV GZIP_EXTRA_TYPES text/tsv vnd.***ARANGO_DB_NAME***.document/bioc vnd.***ARAN
COPY nginx.conf /etc/nginx/templates/default.conf.template

# Copy built assets
COPY --from=landing-build /app/dist ./
COPY --from=angular-build /app/dist ./

EXPOSE 80

0 comments on commit a71b047

Please sign in to comment.