Skip to content

Commit

Permalink
Merge pull request #151 from SynBioDex/DockerTesting
Browse files Browse the repository at this point in the history
Use new base docker image
  • Loading branch information
Randoom97 authored Jan 27, 2021
2 parents 2a1a73e + 34b9881 commit a0242e7
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine
FROM node:13.12.0-alpine

RUN apk add openjdk8 bash

Expand All @@ -16,7 +16,15 @@ RUN resources/build_automation/build_backend.sh
RUN apk add --update nodejs npm
RUN npm install -g @angular/cli
RUN apk add git
RUN resources/build_automation/build_frontend.sh

WORKDIR ./SBOLCanvasFrontend
RUN npm install
RUN npm rebuild node-sass
RUN node --max-old-space-size=8192
RUN npm run prebuild.prod
RUN ng build --prod --build-optimizer --vendor-chunk --progress --output-hashing=all --stats-json --source-map=true --base-href=/canvas/

#RUN resources/build_automation/build_frontend.sh

# New container
FROM tomcat:9.0-jdk8-openjdk
Expand Down

0 comments on commit a0242e7

Please sign in to comment.