Skip to content

Commit

Permalink
Merge pull request #46 from spryker/bugfix/sc-2093/swagger-ui-demo-mode
Browse files Browse the repository at this point in the history
SC-2092: Demo mode, swagger file generation
  • Loading branch information
alexanderM91 authored Oct 24, 2019
2 parents 976e834 + 4ec424f commit 43f0d12
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions images/swagger/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ ARG SPRYKER_DOCKER_PREFIX
ARG SPRYKER_DOCKER_TAG
FROM ${SPRYKER_DOCKER_PREFIX}_app:${SPRYKER_DOCKER_TAG} AS spryker_app

ENV DEVELOPMENT_CONSOLE_COMMANDS=1
RUN vendor/bin/console rest-api:generate:documentation

FROM swaggerapi/swagger-ui

RUN apk update && apk add bash
Expand Down

0 comments on commit 43f0d12

Please sign in to comment.