mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-16 22:14:38 -05:00
26 lines
475 B
Docker
26 lines
475 B
Docker
## To build the image, run:
|
|
## docker build -t poketube .
|
|
|
|
## To run the image, run:
|
|
## docker run -p 6003:6003 -v ./config.json:/poketube/config.json:ro poketube
|
|
## but preferably, use the docker-compose.yml file
|
|
|
|
# Base
|
|
FROM node:16-alpine
|
|
|
|
# Install dependencies
|
|
RUN apk add --no-cache git build-base python3
|
|
|
|
# Set Work Directory
|
|
WORKDIR /poketube
|
|
COPY . /poketube
|
|
|
|
# Expose Ports
|
|
EXPOSE 6003
|
|
|
|
# Install Dependencies
|
|
RUN npm install
|
|
|
|
# Start the app
|
|
CMD ["npm", "start"]
|