mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 00:38:28 +03:00
Make Docker images smaller by messing up Dockerfile
This commit is contained in:
+2
-4
@@ -1,8 +1,6 @@
|
||||
FROM node
|
||||
RUN apt-get update
|
||||
WORKDIR /app
|
||||
RUN apt-get install -y sendmail
|
||||
RUN npm install -g pnpm
|
||||
COPY . /app
|
||||
RUN pnpm i
|
||||
RUN apt-get update && apt-get install -y sendmail && rm -rf /var/lib/apt/lists/*
|
||||
RUN npm install -g pnpm && pnpm i
|
||||
CMD ./hosts.sh && service sendmail start && pnpm start
|
||||
|
||||
Reference in New Issue
Block a user