File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This image will be published as dspace/dspace-angular
22# See https://github.com/DSpace/dspace-angular/tree/main/docker for usage details
33
4- FROM node:18-alpine
4+ FROM docker.io/ node:18-alpine
55
66# Ensure Python and other build tools are available
77# These are needed to install some node modules, especially on linux/arm64
@@ -22,5 +22,5 @@ ENV NODE_OPTIONS="--max_old_space_size=4096"
2222# Listen / accept connections from all IP addresses.
2323# NOTE: At this time it is only possible to run Docker container in Production mode
2424# if you have a public URL. See https://github.com/DSpace/dspace-angular/issues/1485
25- ENV NODE_ENV development
25+ ENV NODE_ENV= development
2626CMD npm run serve -- --host 0.0.0.0
Original file line number Diff line number Diff line change 44# Test build:
55# docker build -f Dockerfile.dist -t dspace/dspace-angular:latest-dist .
66
7- FROM node:18-alpine AS build
7+ FROM docker.io/ node:18-alpine AS build
88
99# Ensure Python and other build tools are available
1010# These are needed to install some node modules, especially on linux/arm64
@@ -26,6 +26,6 @@ COPY --chown=node:node docker/dspace-ui.json /app/dspace-ui.json
2626
2727WORKDIR /app
2828USER node
29- ENV NODE_ENV production
29+ ENV NODE_ENV= production
3030EXPOSE 4000
3131CMD pm2-runtime start dspace-ui.json --json
You can’t perform that action at this time.
0 commit comments