Commit a3f822a4 authored by Athanasios Katsadas's avatar Athanasios Katsadas 🔎
Browse files

Speed up docker-compose term development

parent 620bcdfe
Pipeline #15088 passed with stage
in 2 minutes and 12 seconds
FROM node:lts
RUN mkdir /app
WORKDIR /app
RUN yarn global add serve
COPY package.json yarn.lock ./
RUN yarn --pure-lockfile
COPY . ./
EXPOSE 5000
CMD yarn parse && yarn glossary && yarn build && cd build && serve
......@@ -4,7 +4,7 @@ services:
container_name: essif-lab-terminology
build:
context: .
dockerfile: Dockerfile
dockerfile: Dockerfile.dev
image: essif-lab-terminology:latest
ports:
- "5000:5000"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment