Merge pull request #6798 from backstage/freben/workspejs

update dockerfile instructions to build only app workspace
This commit is contained in:
Johan Haals
2021-08-12 09:56:08 +02:00
committed by GitHub
@@ -8,7 +8,6 @@
# simply copies in the build output into the image. If you want to also perform
# the build itself inside docker, use Dockerfile.build in this folder instead.
# USAGE:
#
# - Copy this file and the "docker" folder from this directory to your project
@@ -23,7 +22,7 @@
#
# yarn install
# yarn tsc
# yarn build --config <config1> --config <config2> ...
# yarn workspace app build --config <config1> --config <config2> ...
# docker build -t backstage-frontend -f Dockerfile.hostbuild .
@@ -38,4 +37,3 @@ COPY docker/default.conf.template /etc/nginx/templates/default.conf.template
COPY docker/inject-config.sh /docker-entrypoint.d/40-inject-config.sh
ENV PORT 80