19 lines
327 B
Docker
19 lines
327 B
Docker
FROM ubuntu:latest
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/*
|
|
RUN npm install -g yarn
|
|
|
|
WORKDIR /srv/app
|
|
#COPY app/package*.json ./
|
|
RUN yarn global add @vue/cli
|
|
RUN yarn install
|
|
|
|
# Bundle app source
|
|
#COPY ./app .
|
|
|
|
EXPOSE 8080
|
|
|
|
#CMD [ "yarn", "serve"]
|