Volume
claudemirferreira
HOBBYOP

2 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

claudemirferreira
HOBBYOP

2 years ago


brody
EMPLOYEE

2 years ago

Exactly as the error says, you can't use the VOLUME keyword in your Dockerfile.


latingate
HOBBY

4 months ago

.


Loading...