website/Dockerfile.dev

10 lines
329 B
Docker
Raw Normal View History

2020-02-20 01:16:28 +00:00
# Using the current version of Node and Alpine
FROM node:current-alpine
# This should be mounted with docker run command
WORKDIR /src
# Install deps and run the development server
ENV PATH="/node_modules/.bin:${PATH}"
ENTRYPOINT cd /src && yarn --modules-folder /node_modules install && yarn --modules-folder /node_modules dev