toolshed/deploy/prod/Dockerfile.frontend
jedi 37350f59c3
All checks were successful
continuous-integration/drone/push Build is passing
stash
2024-04-06 18:51:44 +02:00

15 lines
379 B
Docker

# Use an official Node.js runtime as instance_a parent image
FROM node:14
# Set work directory
WORKDIR /app
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package.json ./
RUN npm install
# If you are building your code for production
# RUN npm ci --only=production
CMD [ "npm", "run", "dev", "--", "--host"]