mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 01:57:49 +01:00
24 lines
No EOL
400 B
Docker
24 lines
No EOL
400 B
Docker
## To build the image, run:
|
|
## docker build -t poketube .
|
|
|
|
## To run the image, run:
|
|
## docker run -d -p 6003:6003 poketube
|
|
|
|
# Base (Alpine Linux)
|
|
FROM alpine
|
|
|
|
# Set Work Directory
|
|
WORKDIR /poketube
|
|
COPY . /poketube
|
|
|
|
# Expose Default Ports
|
|
EXPOSE 6003
|
|
|
|
# Install Requirements
|
|
RUN apk add nodejs npm make g++ ca-certificates curl gnupg python3
|
|
|
|
# Install Packages
|
|
RUN npm install
|
|
|
|
# Run
|
|
CMD npm start |