10 lines
278 B
Docker
10 lines
278 B
Docker
# Gunakan image resmi Swagger UI
|
|
FROM swaggerapi/swagger-ui:v5.11.8
|
|
|
|
RUN mkdir swag
|
|
# Copy file .yaml ke dalam image
|
|
COPY ./openapi_satusehat.yaml /swag/openapi_satusehat.yaml
|
|
|
|
|
|
# Konfigurasi Swagger UI untuk membaca file .yaml Anda
|
|
ENV SWAGGER_JSON=/swag/openapi_satusehat.yaml |