mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-29 04:54:02 +03:00
cb103ce28d
The old syntax for ENV and LABEL is marked as deprecated in docker buildx v0.14.0 https://docs.docker.com/reference/build-checks/legacy-key-value-format/ https://github.com/moby/buildkit/pull/4923
10 lines
158 B
Docker
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
|