calpine-node/Dockerfile

27 lines
581 B
Docker
Raw Normal View History

2023-01-10 20:20:18 +07:00
FROM cubetiq/calpine-node:slim
LABEL maintainer="sombochea@cubetiqs.com"
2023-01-10 20:20:18 +07:00
# Install PNPM
RUN npm install -g pnpm@latest
2023-02-03 19:56:42 +07:00
# Update NPM package
RUN npm install -g npm@latest
2022-08-30 20:44:34 +07:00
# Install yarn from npm package
RUN npm install -g yarn@latest --force
2022-08-30 20:44:34 +07:00
# Checking packages version
RUN echo "NODE: $(node --version)" \
&& echo "NPM: $(npm --version)" \
&& echo "NPX: $(npx --version)" \
2022-08-30 20:44:34 +07:00
&& echo "YARN: $(yarn --version)" \
&& echo "PNPM: $(pnpm --version)"
COPY entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
2022-11-15 14:45:45 +07:00
CMD [ "node" ]