mirror of
https://github.com/citra-emu/discord-bot.git
synced 2024-12-22 19:15:31 +00:00
18 lines
307 B
Docker
18 lines
307 B
Docker
FROM mhart/alpine-node:latest
|
|
|
|
# Create app directory
|
|
WORKDIR /usr/src/app
|
|
|
|
# Install app dependencies
|
|
COPY package.json package-lock.json ./
|
|
RUN npm install
|
|
|
|
# Bundle app source
|
|
COPY . .
|
|
|
|
RUN addgroup -S app -g 50000 && \
|
|
adduser -S -g app -u 50000 app
|
|
USER app
|
|
|
|
ENTRYPOINT [ "node", "src/server.js" ]
|