Skip to content

Commit

Permalink
Removed docs generation from dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Nickson <[email protected]>
  • Loading branch information
Computroniks committed Oct 30, 2023
1 parent f01e33b commit a791ad3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 44 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/go-release.yml

This file was deleted.

2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN npm ci
COPY openapi.yaml /build/openapi.yaml
COPY components /build/components
COPY paths /build/paths
RUN npm run openapi:generate
RUN npm run openapi:convert

FROM nginx:stable-alpine as deploy
Expand All @@ -25,7 +24,6 @@ RUN rm /usr/share/nginx/html/*
RUN rm /etc/nginx/nginx.conf /etc/nginx/conf.d/default.conf

# Copy files
COPY --from=build /build/openapi.html /usr/share/nginx/html/openapi.html
COPY --from=build /build/openapi.json /usr/share/nginx/html/openapi.json

# Copy config
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ container. This may take a while.
### Docker

```
docker run --publish 3000:3000 -d --name messaging ghcr.io/sidingsmedia/openapi
docker run --publish 3000:80 -d --name messaging ghcr.io/sidingsmedia/openapi
```

To add the environment variables, you can use multiple `-e` flags. For
Expand Down

0 comments on commit a791ad3

Please sign in to comment.