1
0
mirror of https://github.com/robonen/canvas-3d.git synced 2026-03-20 02:44:40 +00:00

Merge pull request #9 from robonen/fixes

fix(repo): fix build path in dockerfile, remove imports
This commit is contained in:
2022-11-18 06:52:10 +07:00
committed by GitHub
4 changed files with 7 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ FROM node:${NODE_VERSION}
WORKDIR /app
COPY --from=builder /build/src/.output .
COPY --from=builder /build/.output .
ENV HOST=0.0.0.0
ENV PORT=3000

View File

@@ -22,6 +22,11 @@ tasks:
cmds:
- docker-compose -p $APP_NAME up -d
docker:run:build:
deps: [ make:env ]
cmds:
- docker-compose -p $APP_NAME up -d --build
docker:stop:
cmds:
- docker-compose -p $APP_NAME down

View File

@@ -1,5 +1,4 @@
// https://v3.nuxtjs.org/api/configuration/nuxt.config
import {defineNuxtConfig} from 'nuxt/config';
import {resolve} from 'path';
const SRC = resolve(__dirname, 'src');

View File

@@ -1,6 +1,4 @@
import {defineEventHandler} from 'h3';
export default defineEventHandler((event) => {
export default defineEventHandler(() => {
console.log('Request received');
return {