Volume
claudemirferreira
OP
3 years ago
I'm need of help, error of deploy the app spring boot, could you help?
my Dockerfile
FROM eclipse-temurin:17-jdk-alpine
VOLUME /tmp
COPY target/*.jar app.jar
EXPOSE 8080
ENTRYPOINT ["java","-jar","/app.jar"]
LOG DE ERROR
[Region: us-west1]
The VOLUME keyword is banned in Dockerfiles. Use Railway volumes instead. https://docs.railway.app/reference/volumes
3 Replies
3 years ago
Exactly as the error says, you can't use the VOLUME keyword in your Dockerfile.
latingate
a year ago
.