Skip to content
Snippets Groups Projects
Select Git revision
  • 3-annotation-plugin-showing-up
  • main default protected
  • 24-everything-from-git
  • 45-create-new-poc-deployment-with-docker
  • 44-add-a-cli-tool
  • improve-deployment
  • 31-backend
  • bash-script-bug-fix
  • upgrades_submodules
  • 24-dependencies-build-nested-watch
  • 24-dependencies-build-using-workspaces
  • 24-dependencies-build
  • wip-all-local
  • 10-annotot
14 results

Dockerfile

Blame
  • Loïs Poujade's avatar
    Loïs Poujade authored
    - all local files (sources, dependencies, config, etc) are mounted in
      the devserver container
    - devserver watch sources & rebuild/reload on each change
    - "prod" server was updated to allow devserver to access its ressources
    - "prod" server now use npm ci instead of install and webpack
      `production` mode for build
    545fd75c
    History
    Dockerfile 170 B
    FROM alpine:latest as builder
    RUN apk add npm git
    
    COPY . /opt
    WORKDIR /opt
    RUN npm ci
    RUN npm run build
    
    FROM caddy:latest as httpd
    COPY --from=builder /opt/public /srv