mirror of
https://github.com/Gimanh/taskview-community.git
synced 2026-09-12 05:49:01 +00:00
23 lines
366 B
Docker
23 lines
366 B
Docker
FROM node:20-bullseye-slim
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
curl \
|
|
build-essential \
|
|
qemu-user-static \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
RUN npm install pm2 -g
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY ./dist .
|
|
|
|
RUN npm install
|
|
RUN npm run byte
|
|
RUN rm ./taskview-server-api.js
|
|
RUN rm ./taskview-server-docker.js
|
|
|
|
EXPOSE 1401
|
|
|
|
CMD ["npm", "run", "start"]
|