Skip to content
Snippets Groups Projects
Select Git revision
  • 2b351a237266b9dd19b3a8f82cd2eeaf976bcecd
  • main default protected
  • feature/new_systems_methodology
  • fix/missing-api-documentation
  • feature/python_example_folder_update
  • beta_release protected
  • fix/revert-gitlab-config
  • fix/citationEcologicalAssessment
  • documentation/styleupdate
  • feature/lightMode
  • documentation/create_mission_xml
  • 28-empennage-design-update-documentation-according-to-workshop
  • documentation/fix-dot-equations
  • documentation/propulsion-design-module
  • documentation/gitlab-workflow
  • documentation/cost_estimation_update
  • documentation/mkdocs_python_update
  • documentation/tank_design_update
  • documentation/landing_gear_design_update
  • documentation/fuselage_design_update
  • documentation/global-header-file-setup
  • 0.5.0
22 results

additional_software.md

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    Dockerfile 670 B
    FROM golang:1.18-buster AS builder
    
    RUN mkdir /build
    WORKDIR /build
    
    # Make use of layer caching
    ADD go.* ./
    RUN go mod download
    RUN go install github.com/swaggo/swag/cmd/swag@v1.8.1
    
    ADD . .
    
    RUN swag init --propertyStrategy pascalcase \
                  --generalInfo "start.go" \
                  --output "./doc/api/" \
                  --parseDependency \
                  --parseInternal \
                  --parseVendor \
                  --parseDepth 2
    
    RUN go build -o villasweb-backend
    
    FROM debian:buster
    
    RUN apt-get update && \
        apt-get install -y \
            ca-certificates
    
    COPY --from=builder /build/villasweb-backend /usr/bin
    
    EXPOSE 4000
    
    CMD [ "villasweb-backend" ]