mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-11 17:29:26 +02:00
feat: Add initial backend server with user authentication, session management, and playlist CRUD functionality.
This commit is contained in:
1 parent
c78012dbdd
commit
03edbfefb7
19 files changed
+1324
-75
No files matched your search
+6
-4
@@ -36,12 +36,14 @@ FROM dart:stable
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy server code and pubspec
|
||||
COPY bin/server.dart ./bin/
|
||||
COPY bin/pubspec.yaml ./
|
||||
# Install SQLite3 library for FFI
|
||||
RUN apt-get update && apt-get install -y sqlite3 libsqlite3-dev && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy entire bin directory (API, database, etc.)
|
||||
COPY bin/ ./bin/
|
||||
|
||||
# Get dependencies
|
||||
RUN dart pub get
|
||||
RUN dart pub get --directory=bin
|
||||
|
||||
# Copy built web application from builder stage
|
||||
COPY --from=builder /app/build/web /app/web
|
||||
|
||||
Reference in new issue
Block a user