cookiecutter-django/{{cookiecutter.project_slug}}/compose/local/node/Dockerfile
Tim Freund c7eded8644
Add registry to Docker images names (#4804)
Prepending docker.io/ to image names allows projects to be run in
alternate runtimes such as podman-compose without additional
configuration.
2024-01-25 09:12:07 +00:00

10 lines
158 B
Docker

FROM docker.io/node:20-bookworm-slim
WORKDIR /app
COPY ./package.json /app
RUN npm install && npm cache clean --force
ENV PATH ./node_modules/.bin/:$PATH