Skip to content
Snippets Groups Projects
Commit 311a372f authored by Korbinian's avatar Korbinian
Browse files

Adjusted compose files for on-prem use

parent dc4bc458
Branches
No related tags found
No related merge requests found
...@@ -2,10 +2,12 @@ FROM node:15 AS builder ...@@ -2,10 +2,12 @@ FROM node:15 AS builder
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN npm install -ci # RUN npm install -ci
RUN npm run build # RUN npm run build
FROM nginx:1.20.0 # FROM nginx:1.20.0
#
# COPY .docker/default.conf /etc/nginx/conf.d/
# COPY --from=builder /app/dist /usr/share/nginx/html
COPY .docker/default.conf /etc/nginx/conf.d/ CMD ["npm", "run", "serve"]
COPY --from=builder /app/dist /usr/share/nginx/html \ No newline at end of file
\ No newline at end of file
This diff is collapsed.
<template> <template>
<div class="randomPlayerContainer"> <div class="randomPlayerContainer">
<div class="titlePlayer">Orca Player</div> <div class="titlePlayer">Orca Player!</div>
<div class="randomPlayerItem"> <div class="randomPlayerItem">
<div class="playOrcaRandomPlayer" @click="playRandomPlayer"> <div class="playOrcaRandomPlayer" @click="playRandomPlayer">
<img class="playIconRandomPlayer" v-if="!isPlayerPlaying" src="../assets/play-circle-solid.svg" alt=""> <img class="playIconRandomPlayer" v-if="!isPlayerPlaying" src="../assets/play-circle-solid.svg" alt="">
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
module.exports = { module.exports = {
devServer: { devServer: {
// proxy: 'http://augustiner.informatik.fh-nuernberg.de:8080' // proxy: 'http://augustiner.informatik.fh-nuernberg.de:8080'
port: 80,
disableHostCheck: true,
proxy: { proxy: {
"^/api": { "^/api": {
target: "http://localhost:8000", target: "http://localhost:8000",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment