c1
This commit is contained in:
18
images/vuecli/Dockerfile
Normal file
18
images/vuecli/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user