mirror of https://github.com/Facinorous-420/dick
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
405 B
25 lines
405 B
2 years ago
|
FROM archlinux:latest
|
||
|
|
||
|
# Update the repositories
|
||
|
RUN pacman -Sy
|
||
|
|
||
|
# Install nodejs
|
||
|
RUN pacman -S --noconfirm git nodejs npm
|
||
|
|
||
|
# Generate directories and set up project
|
||
|
RUN mkdir /app && mkdir /app/dick && mkdir /app/ass
|
||
|
COPY . /app/dick
|
||
|
RUN cd /app/dick
|
||
|
|
||
|
#RUN nvm install node
|
||
|
RUN npm install -g npm@latest
|
||
|
RUN npm --version
|
||
|
RUN node --version
|
||
|
|
||
|
WORKDIR /app/dick
|
||
|
|
||
|
RUN npm i
|
||
|
|
||
|
# Expose port
|
||
|
EXPOSE 3000
|