Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial container release #3

Merged
merged 1 commit into from
Oct 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM gcr.io/distroless/static-debian11:latest
LABEL maintainer "Juan Ariza <jariza@vmware.com>"

ARG TARGETARCH
COPY distapi-mock_linux_${TARGETARCH}*/api-mock /usr/local/bin/
COPY dist/api-mock_linux_${TARGETARCH}*/api-mock /usr/local/bin/

# by default, use a non-root (non-privileged) UID to run the container
USER 1001
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Run the API mock using Docker:
docker run --rm -p 8080:8080 juanariza131/api-mock
```

The API mock will be available at `http://localhost:8080`.
The API mock will be available at `http://localhost:8080/v1/mock`.

## Configuration

Expand Down