mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-16 22:09:25 +08:00
Update python image in dockerfile
This commit is contained in:
parent
20debf7d45
commit
fffe3c7145
2 changed files with 9 additions and 12 deletions
|
@ -1,12 +1,13 @@
|
||||||
# Use the official Python 3.11 image
|
# Use the official Python 3.11 image
|
||||||
# FROM --platform=arm64 python:3.11.4-bookworm
|
FROM --platform=arm64 python:3.11.7-bullseye
|
||||||
# ARG BUILDPLATFORM
|
# ARG BUILDPLATFORM
|
||||||
FROM python:3.11.4-bookworm
|
# FROM python:3.11.7-bullseye
|
||||||
|
|
||||||
ENV PYTHONBUFFERED 1
|
ENV PYTHONBUFFERED 1
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
# Install necessary dependencies, including cmake
|
# Install necessary dependencies, including cmake
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get install -y \
|
||||||
wget \
|
wget \
|
||||||
tar \
|
tar \
|
||||||
cmake \
|
cmake \
|
||||||
|
|
|
@ -1230,7 +1230,7 @@ components:
|
||||||
nullable: true
|
nullable: true
|
||||||
timestamp:
|
timestamp:
|
||||||
type: string
|
type: string
|
||||||
format: date
|
format: date-time
|
||||||
readOnly: true
|
readOnly: true
|
||||||
Semester:
|
Semester:
|
||||||
type: object
|
type: object
|
||||||
|
@ -1360,7 +1360,7 @@ components:
|
||||||
format: double
|
format: double
|
||||||
timestamp:
|
timestamp:
|
||||||
type: string
|
type: string
|
||||||
format: date
|
format: date-time
|
||||||
readOnly: true
|
readOnly: true
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
|
@ -1387,7 +1387,7 @@ components:
|
||||||
nullable: true
|
nullable: true
|
||||||
timestamp:
|
timestamp:
|
||||||
type: string
|
type: string
|
||||||
format: date
|
format: date-time
|
||||||
readOnly: true
|
readOnly: true
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
|
@ -1416,7 +1416,7 @@ components:
|
||||||
nullable: true
|
nullable: true
|
||||||
timestamp:
|
timestamp:
|
||||||
type: string
|
type: string
|
||||||
format: date
|
format: date-time
|
||||||
readOnly: true
|
readOnly: true
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
|
@ -1444,23 +1444,19 @@ components:
|
||||||
landmark:
|
landmark:
|
||||||
type: string
|
type: string
|
||||||
nullable: true
|
nullable: true
|
||||||
radius:
|
|
||||||
type: number
|
|
||||||
format: double
|
|
||||||
distance:
|
distance:
|
||||||
type: string
|
type: string
|
||||||
readOnly: true
|
readOnly: true
|
||||||
default: 0
|
default: 0
|
||||||
timestamp:
|
timestamp:
|
||||||
type: string
|
type: string
|
||||||
format: date
|
format: date-time
|
||||||
readOnly: true
|
readOnly: true
|
||||||
required:
|
required:
|
||||||
- distance
|
- distance
|
||||||
- id
|
- id
|
||||||
- location
|
- location
|
||||||
- name
|
- name
|
||||||
- radius
|
|
||||||
- students
|
- students
|
||||||
- subject
|
- subject
|
||||||
- timestamp
|
- timestamp
|
||||||
|
|
Loading…
Reference in a new issue