mirror of
https://github.com/yuzu-emu/Command-fix
synced 2024-11-24 09:38:15 +00:00
19 lines
353 B
Docker
19 lines
353 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 && \
|
|
mkdir /data && chown app:app /data/
|
|
|
|
USER app
|
|
|
|
ENTRYPOINT [ "node", "src/server.js" ]
|