10 lines
329 B
Docker
10 lines
329 B
Docker
# 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
|