- navikt/common
- slim variant of the official Python image for given version
We support two ways of running your app:
- a script called
main.py
- Regular Docker CMD
Create a Dockerfile
containing:
The simplest way of running your app is to create a script to start the applicaton and copy it into your container as main.py
.
Since the default working directory is /app
, there's no need to specify the path.
FROM ghcr.io/navikt/baseimages/python:3.8
COPY my-cool-app/ .