 
      
    | You are here | www.blog.pythonlibrary.org | ||
| | | | | blog.chand1012.dev | |
| | | | | In this tutorial, we will be setting up a Flask server using Gunicorn and NGINX on Ubuntu 18.04 LTS. Requirements Any system running Ubuntu 18.04 LTS with SSH enabled. An SSH client. Installing After connecting via SSH to your server as root, run the following commands to install the required programs: apt update apt upgrade -y apt install nginx python3 python3-pip python3-venv This will install Python, NGINX, and the virtual environment needed to run the app. | |
| | | | | earthly.dev | |
| | | | | This tutorial explains how to create a Python virtual environment using PyInstaller, a packaging tool for Python applications, and distribute them ... | |
| | | | | stribny.name | |
| | | | | ||
| | | | | memo.mx | |
| | | Docker multi-stage build is a great way to build a container images with a minimal footprint. Compiled languages like Go or Rust can take advantage of this by just shipping a binary to a container This is an example from the official docs: FROM golang:1.16 WORKDIR /go/src/github.com/alexellis/href-counter/ RUN go get -d -v golang.org/x/net/html COPY app.go ./ RUN CGO_ENABLED=0 go build -a -installsuffix cgo -o app . FROM alpine:latest RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=0 /g... | ||