+
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python base (venv and user)
FROM python:3.13-slim AS base
FROM python:3.13 AS base

# Install dependencies and dumb-init
RUN apt-get update && apt-get install -y build-essential curl dumb-init && rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -33,6 +33,9 @@ RUN useradd -m edapi && \
chown -R edapi /app/
USER edapi

ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1

# App
COPY app /app/app
COPY app /app/migrations
Expand Down
1 change: 1 addition & 0 deletions app/models/ships.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class ShipModel(MultiValueEnum):
TYPE_7_TRANSPORTER = "Type-7 Transporter", "type7"
TYPE_8_TRANSPORTER = "Type-8 Transporter", "type8"
TYPE_9_HEAVY = "Type-9 Heavy", "type9"
TYPE_11_PROSPECTOR = "Type-11 Prospector", "lakonminer"
VIPER_MKIII = "Viper Mk III", "viper"
VIPER_MKIV = "Viper Mk IV", "viper_mkiv"
VULTURE = "Vulture", "vulture"
Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载