added docker container

This commit is contained in:
2026-04-19 23:47:16 +03:00
parent f9eeb6f461
commit f54b65caa2
3 changed files with 64 additions and 0 deletions

17
Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM dart:stable-sdk
WORKDIR /app
# sqlite3 package uses system libsqlite3 at runtime.
RUN apt-get update \
&& apt-get install -y --no-install-recommends libsqlite3-0 curl \
&& rm -rf /var/lib/apt/lists/*
COPY pubspec.yaml pubspec.lock ./
RUN dart pub get
COPY . .
EXPOSE 8080
CMD ["dart", "run", "bin/vpn_server.dart"]