Skip to content
Snippets Groups Projects
Commit b9947fd5 authored by Janis Streib's avatar Janis Streib :owl:
Browse files

FIX: docker: use docker correctly m)

parent 0baa6507
No related branches found
No related tags found
No related merge requests found
FROM node:16-bullseye
FROM node:16-bullseye as netvs_dev
EXPOSE 8080
RUN apt-get -y update && apt-get install -y chromium firefox-esr wget
WORKDIR .
......@@ -10,3 +10,6 @@ RUN npm install -g npm@^9.6.2
RUN echo "npm install && npm run serve" > /run.sh
WORKDIR /netvs
ENTRYPOINT ["bash", "/run.sh"]
FROM netvs_dev as netvs_shell
ENTRYPOINT ["bash","-l"]
FROM netvs-core_run
ENTRYPOINT ["bash","-l"]
version: '3.7'
services:
netvs-core_run:
image: netvs-core_run
......@@ -7,6 +5,7 @@ services:
- "8080:8080"
build:
dockerfile: Dockerfile
target: netvs_dev
context: .
args:
- FONTAWESOME_NPM_AUTH_TOKEN=${FONTAWESOME_NPM_AUTH_TOKEN}
......@@ -21,7 +20,8 @@ services:
ports:
- "8080:8080"
build:
dockerfile: Dockerfile-shell
dockerfile: Dockerfile
target: netvs_shell
context: .
environment:
- FONTAWESOME_NPM_AUTH_TOKEN=${FONTAWESOME_NPM_AUTH_TOKEN}
......
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