mirror of
https://github.com/cloudmaker97/FS25-Discord-Bot.git
synced 2025-12-06 00:18:34 +00:00
16 lines
No EOL
402 B
Docker
16 lines
No EOL
402 B
Docker
FROM node:latest
|
|
LABEL name="LS25-Discord-Bot"
|
|
LABEL authors="Dennis Heinrich"
|
|
|
|
# Copy the source files
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN npm install pnpm -g
|
|
RUN pnpm install
|
|
RUN pnpm run build
|
|
|
|
## Simplyfy the rm commands
|
|
RUN rm -rf .ddev/ source/ misc/ .git .gitignore config.example-en.json Dockerfile docker-compose.yml README.md
|
|
|
|
CMD ["npm", "run", "start-only"]
|
|
ENTRYPOINT ["npm", "run", "start-only"] |