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
|
||||
# FROM --platform=arm64 python:3.11.4-bookworm
|
||||
FROM --platform=arm64 python:3.11.7-bullseye
|
||||
# ARG BUILDPLATFORM
|
||||
FROM python:3.11.4-bookworm
|
||||
# FROM python:3.11.7-bullseye
|
||||
|
||||
ENV PYTHONBUFFERED 1
|
||||
|
||||
RUN apt-get update
|
||||
# Install necessary dependencies, including cmake
|
||||
RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get install -y \
|
||||
wget \
|
||||
tar \
|
||||
cmake \
|
||||
|
|
|
@ -1230,7 +1230,7 @@ components:
|
|||
nullable: true
|
||||
timestamp:
|
||||
type: string
|
||||
format: date
|
||||
format: date-time
|
||||
readOnly: true
|
||||
Semester:
|
||||
type: object
|
||||
|
@ -1360,7 +1360,7 @@ components:
|
|||
format: double
|
||||
timestamp:
|
||||
type: string
|
||||
format: date
|
||||
format: date-time
|
||||
readOnly: true
|
||||
required:
|
||||
- id
|
||||
|
@ -1387,7 +1387,7 @@ components:
|
|||
nullable: true
|
||||
timestamp:
|
||||
type: string
|
||||
format: date
|
||||
format: date-time
|
||||
readOnly: true
|
||||
required:
|
||||
- id
|
||||
|
@ -1416,7 +1416,7 @@ components:
|
|||
nullable: true
|
||||
timestamp:
|
||||
type: string
|
||||
format: date
|
||||
format: date-time
|
||||
readOnly: true
|
||||
required:
|
||||
- id
|
||||
|
@ -1444,23 +1444,19 @@ components:
|
|||
landmark:
|
||||
type: string
|
||||
nullable: true
|
||||
radius:
|
||||
type: number
|
||||
format: double
|
||||
distance:
|
||||
type: string
|
||||
readOnly: true
|
||||
default: 0
|
||||
timestamp:
|
||||
type: string
|
||||
format: date
|
||||
format: date-time
|
||||
readOnly: true
|
||||
required:
|
||||
- distance
|
||||
- id
|
||||
- location
|
||||
- name
|
||||
- radius
|
||||
- students
|
||||
- subject
|
||||
- timestamp
|
||||
|
|
Loading…
Reference in a new issue