try copying src folder aswell

This commit is contained in:
Ulf Gebhardt 2022-01-25 18:15:37 +01:00
parent 8a9fc846f5
commit ed105b8e7c
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
2 changed files with 3 additions and 1 deletions

View File

@ -98,6 +98,8 @@ COPY --from=build ${DOCKER_WORKDIR}/node_modules ./node_modules
# COPY --from=build ${DOCKER_WORKDIR}/public ./public
# Copy package.json for script definitions (lock file should not be needed)
COPY --from=build ${DOCKER_WORKDIR}/package.json ./package.json
# TODO
COPY --from=build ${DOCKER_WORKDIR}/src ./src
# Copy run scripts run/
# COPY --from=build ${DOCKER_WORKDIR}/run ./run

View File

@ -8,7 +8,7 @@
"license": "MIT",
"private": false,
"scripts": {
"build": "tsc --build && cp ./src/config/*.txt ./build/src/config/",
"build": "tsc --build",
"clean": "tsc --build --clean",
"up": "node build/src/index.js up",
"down": "node build/src/index.js down",