1
Fork 0
poke/Dockerfile

24 lines
400 B
Docker
Raw Normal View History

2023-11-21 18:26:54 -05:00
## To build the image, run:
## docker build -t poketube .
## To run the image, run:
## docker run -d -p 6003:6003 poketube
2023-11-23 20:59:13 -05:00
# Base (Alpine Linux)
FROM alpine
2023-11-21 18:26:54 -05:00
# Set Work Directory
WORKDIR /poketube
COPY . /poketube
2023-11-23 20:59:13 -05:00
# Expose Default Ports
2023-11-21 18:26:54 -05:00
EXPOSE 6003
# Install Requirements
2023-11-23 20:59:13 -05:00
RUN apk add nodejs npm make g++ ca-certificates curl gnupg python3
2023-11-21 18:26:54 -05:00
# Install Packages
RUN npm install
# Run
CMD npm start