mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Dockerfile
This commit is contained in:
parent
ac2d8eb152
commit
9b33082f55
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
|||
FROM node:ubuntu
|
||||
FROM node:anapsix/alpine-java
|
||||
WORKDIR /usr/src/app
|
||||
COPY package*.jar ./
|
||||
RUN npm install
|
||||
RUN mvn install
|
||||
COPY . .
|
||||
EXPOSE 8080
|
||||
CMD [ "npm", "start" ]
|
||||
CMD [ "java", "-jar target/*.jar" ]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue