Add Dockerfile
This commit is contained in:
parent
33917c061e
commit
d837c9ad66
1 changed files with 12 additions and 0 deletions
12
Dockerfile
Normal file
12
Dockerfile
Normal file
|
@ -0,0 +1,12 @@
|
|||
FROM node:lts-bullseye
|
||||
WORKDIR /app
|
||||
RUN apt update -y && apt upgrade -y \
|
||||
&& apt install -y --no-install-recommends git \
|
||||
&& apt autoclean -y \
|
||||
&& apt autoremove -y \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& npm install -g pnpm \
|
||||
&& git clone --depth=1 https://github.com/zyachel/libremdb.git . \
|
||||
&& pnpm install
|
||||
EXPOSE 3000
|
||||
CMD ["pnpm", "start"]
|
Loading…
Add table
Reference in a new issue