1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-17 00:34:41 -05:00
poke/Dockerfile

26 lines
475 B
Docker
Raw Permalink 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:
2024-04-22 17:38:01 -04:00
## docker run -p 6003:6003 -v ./config.json:/poketube/config.json:ro poketube
## but preferably, use the docker-compose.yml file
2023-11-21 18:26:54 -05:00
2024-04-22 17:38:01 -04:00
# Base
FROM node:16-alpine
# Install dependencies
RUN apk add --no-cache git build-base python3
2023-11-21 18:26:54 -05:00
# Set Work Directory
WORKDIR /poketube
COPY . /poketube
# Expose Ports
EXPOSE 6003
2024-04-22 17:38:01 -04:00
# Install Dependencies
2023-11-21 18:26:54 -05:00
RUN npm install
2024-04-22 17:38:01 -04:00
# Start the app
CMD ["npm", "start"]