20 lines
312 B
Docker
20 lines
312 B
Docker
FROM archlinux:latest
|
|
|
|
RUN pacman -Syu --noconfirm
|
|
RUN pacman -S --noconfirm nodejs npm
|
|
RUN node --version
|
|
RUN npm --version
|
|
RUN npm install -g npm yarn
|
|
|
|
WORKDIR /app
|
|
COPY ./dist /app
|
|
COPY ./package.json /app/package.json
|
|
COPY ./node_modules /app/node_modules
|
|
|
|
RUN find /app
|
|
|
|
EXPOSE 6969
|
|
|
|
CMD node /app/main.js
|
|
|