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

File tree

2 files changed

+1
-0
lines changed

2 files changed

+1
-0
lines changed

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

0 commit comments

Comments
 (0)