Skip to content

Commit

Permalink
chore: move the Dockerfile to test folder, because it was used for …
Browse files Browse the repository at this point in the history
…testing (#753)
  • Loading branch information
nic-chen authored Nov 10, 2020
1 parent 98db09c commit b4c95a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion api/Dockerfile → api/test/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
FROM golang:1.13.8 AS build-env

WORKDIR /go/src/github.com/apisix/manager-api
COPY . .

COPY ./ ./

RUN mkdir -p /go/manager-api/conf \
&& mkdir -p /go/manager-api/build-tools \
&& go env -w GOPROXY=https://goproxy.io,direct \
Expand Down
2 changes: 1 addition & 1 deletion api/test/docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ services:
managerapi:
build:
context: ../../
dockerfile: Dockerfile
dockerfile: test/docker/Dockerfile
restart: always
volumes:
- ./manager-api-conf.yaml:/go/manager-api/conf/conf.yaml:ro
Expand Down

0 comments on commit b4c95a1

Please sign in to comment.