-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #242 from SynBioDex/revert-240-final
Revert "Added circular backbone implementation"
- Loading branch information
Showing
389 changed files
with
14,026 additions
and
4,253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
FROM node:12-alpine | ||
|
||
RUN apk add openjdk8 bash | ||
|
||
ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk | ||
ENV PATH="$JAVA_HOME/bin:${PATH}" | ||
|
||
WORKDIR /opt/backend | ||
|
||
COPY . . | ||
|
||
# This should be in the Dockerfile, but for now it's a script | ||
RUN resources/build_automation/build_backend.sh | ||
|
||
## Build angular stuff and copy into WEB-INF | ||
RUN apk add --update nodejs npm | ||
RUN npm install -g @angular/cli | ||
RUN apk add git | ||
|
||
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 | ||
|
||
# Copy backend | ||
COPY --from=0 /opt/backend/SBOLCanvasBackend/WebContent/api.war webapps | ||
|
||
# Copy frontend | ||
COPY --from=0 /opt/backend/SBOLCanvasFrontend/dist/SBOLCanvasFrontend webapps/canvas | ||
|
||
# Copying configs for tomcat | ||
ARG TOMCAT_AUTOMATION_DIR=/opt/backend/resources/server_automation/tomcat | ||
#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/tomcat-users.xml ${TOMCAT_AUTOMATION_DIR}/base_config_files/web.xml conf/ | ||
#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/server.xml conf/ | ||
#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/manager-context.xml webapps/manager/META-INF/context.xml | ||
#COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/base_config_files/host-manager-context.xml webapps/host-manager/META-INF/context.xml | ||
COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/ROOT_config/index.jsp webapps/ROOT/index.jsp | ||
|
||
COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/frontend_config_files/frontend_context.html webapps/canvas/META-INF/context.html | ||
COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/frontend_config_files/frontend_rewrite.config webapps/canvas/WEB-INF/rewrite.config | ||
COPY --from=0 ${TOMCAT_AUTOMATION_DIR}/frontend_config_files/frontend_web.xml webapps/canvas/WEB-INF/web.xml | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Class-Path: | ||
|
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.37 KB
SBOLCanvasBackend/WebContent/WEB-INF/classes/data/InteractionInfo.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.48 KB
SBOLCanvasBackend/WebContent/WEB-INF/classes/servlets/SynBioHub.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+727 Bytes
SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$1.class
Binary file not shown.
Binary file added
BIN
+620 Bytes
SBOLCanvasBackend/WebContent/WEB-INF/classes/utils/Converter$2.class
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.