Commit 75b3abcd authored by Wang, Vincent H's avatar Wang, Vincent H
Browse files

Remove unnecessary files

parent 7308ca2a
Pipeline #173542 passed with stage
in 0 seconds
image: maven:latest
stages:
- compile
- test
- deploy
compile:
stage: compile
script:
- mvn compile
test:
stage: test
script:
- mvn test
deploy:
stage: deploy
image: ruby:latest
script:
- gem install dpl
- dpl --provider=heroku --app=jlp19-simplewebapp --api-key=$Heroku_API_Key
FROM maven:3.6.0-jdk-11-slim
# Install necessary dependencies
RUN apt-get -y update
RUN apt-get -y install texlive-latex-base texlive-fonts-recommended texlive-latex-extra pandoc
# Copy source files
COPY src /src
COPY pom.xml /
# Start application
RUN mvn package
EXPOSE 8080
CMD ["sh", "target/bin/simplewebapp"]
build:
docker:
web: Dockerfile
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment