瀏覽代碼

Fix frontend container build

pull/583/head
Guillaume Vincent 3 年之前
父節點
當前提交
2bc7745627
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      packages/lesspass-site/Dockerfile

+ 2
- 1
packages/lesspass-site/Dockerfile 查看文件

@@ -1,9 +1,10 @@
FROM node:lts AS builder
FROM node:12-alpine AS builder
LABEL maintainer="LessPass <contact@lesspass.com>"
LABEL name="LessPass Frontend"
WORKDIR /opt/frontend
COPY package.json yarn.lock ./
RUN yarn install
RUN yarn global add gulp-cli
COPY . /opt/frontend
RUN yarn build
FROM nginx:alpine


Loading…
取消
儲存