mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2025-04-05 19:30:58 -04:00
17 lines
222 B
Docker
17 lines
222 B
Docker
FROM node:23-alpine
|
|
|
|
COPY package.json package-lock.json /app
|
|
|
|
WORKDIR /app
|
|
|
|
RUN npm install . && chown nobody:nobody /app
|
|
|
|
COPY --chown=nobody:nobody ./src /app/src
|
|
|
|
USER nobody
|
|
|
|
ENTRYPOINT ["node"]
|
|
|
|
CMD ["src/app.js"]
|
|
|
|
|