build: docker images (#2860)

This commit is contained in:
LongYinan authored and GitHub committed 2023-06-27 17:23:19 +08:00
1 parent 05452bb297
commit dd58b1bbf6
13 files changed
+155 -288

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
FROM node:18-bookworm-slim
COPY ./apps/server /app
WORKDIR /app
RUN apt-get update && \
apt-get install -y --no-install-recommends openssl && \
rm -rf /var/lib/apt/lists/*
CMD ["node", "--es-module-specifier-resolution=node", "./dist/index.js"]