Updated Dockerfile to Python 3.11 on Alpine 3.17

This commit is contained in:
Vedran Miletić 2022-12-06 16:43:24 +01:00
parent ae7ed95f31
commit a993f63b4d

View File

@ -18,13 +18,13 @@
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE. # IN THE SOFTWARE.
FROM python:3.9.2-alpine3.13 FROM python:3.11.0-alpine3.17
# Build-time flags # Build-time flags
ARG WITH_PLUGINS=true ARG WITH_PLUGINS=true
# Environment variables # Environment variables
ENV PACKAGES=/usr/local/lib/python3.9/site-packages ENV PACKAGES=/usr/local/lib/python3.11/site-packages
ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONDONTWRITEBYTECODE=1
# Set build directory # Set build directory