1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2025-02-24 06:08:55 -05:00
poke/Dockerfile

26 lines
475 B
Text
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:
2024-04-23 00:38:01 +03: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-23 00:38:01 +03: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-23 00:38:01 +03:00
# Install Dependencies
2023-11-21 18:26:54 -05:00
RUN npm install
2024-04-23 00:38:01 +03:00
# Start the app
CMD ["npm", "start"]