poke/Dockerfile

24 lines
400 B
Docker
Raw Normal View History

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