Skip to content

Automated Builds on Docker Hub #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ ADD . /opt/coding/WebIDE
RUN sudo chown -R coding /opt/coding/WebIDE

RUN cd /opt/coding/WebIDE/frontend && npm install && npm run build \
&& cd /opt/coding/WebIDE/frontend-webjars && mvn -s ../mvn_settings.xml clean install \
&& cd /opt/coding/WebIDE/backend && mvn -s ../mvn_settings.xml clean package -Dmaven.test.skip=true \
&& cd /opt/coding/WebIDE/frontend-webjars && mvn clean install \
&& cd /opt/coding/WebIDE/backend && mvn clean package -Dmaven.test.skip=true \
&& cp /opt/coding/WebIDE/backend/target/ide-backend.jar /opt/coding/WebIDE \
&& cd /opt/coding/WebIDE/frontend && rm -r build node_modules \
&& cd /opt/coding/WebIDE/frontend-webjars && mvn clean \
&& cd /opt/coding/WebIDE/backend && mvn clean
&& cd /opt/coding/WebIDE/backend && mvn clean

CMD ["java", "-jar", "/opt/coding/WebIDE/ide-backend.jar", "--PTY_LIB_FOLDER=/opt/coding/WebIDE/backend/src/main/resources/lib"]