Skip to content
Snippets Groups Projects
Commit 42816a4f authored by illsio's avatar illsio
Browse files

docker config

parent 691c3373
No related branches found
No related tags found
No related merge requests found
# Create container for building stt-frontend
FROM node:16.14.0-alpine as build
RUN mkdir -p /usr/app
WORKDIR /usr/app
RUN apk add --no-cache git
RUN apk add --update --no-cache \
make \
g++ \
jpeg-dev \
cairo-dev \
giflib-dev \
pango-dev \
libtool \
autoconf \
automake
COPY . .
RUN npm i --prefix addons/storyTellingTool
RUN npm i --prefix
RUN npm run buildPortal --prefix
# Create container for running stt-frontend
FROM nginx
# Copy build files from build container
COPY --from=build /usr/app/dist /usr/share/nginx/html
EXPOSE 80
version: '3.9'
services:
# Frontend incl. Masterportal configuration for the storytelling tool
stt-frontend:
container_name: stt-frontend
build:
context: .
dockerfile: Dockerfile
networks:
- proxy
networks:
proxy:
external: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.