Skip to content

Commit 46b52f2

Browse files
committed
Fixes the Endpoints getting-started sample.
The Dockerfile and openapi.yaml cannot be in the appengine directory. These have been moved out into their own directories. Also, the jetty user needs access to the war file. The Dockerfile has been updated accordingly.
1 parent 792b24a commit 46b52f2

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

endpoints/getting-started/src/main/appengine/Dockerfile renamed to endpoints/getting-started/src/main/docker/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ FROM gcr.io/google_appengine/jetty9
22

33
ADD endpoints-1.0-SNAPSHOT.war $JETTY_BASE/webapps/root.war
44
ADD . /app
5+
RUN chown jetty:jetty $JETTY_BASE/webapps/root.war

endpoints/getting-started/src/main/appengine/openapi.yaml renamed to endpoints/getting-started/src/main/openapi/openapi.yaml

File renamed without changes.

0 commit comments

Comments
 (0)