Skip to content

Commit a088592

Browse files
committed
debugging deployment env
1 parent 08ed931 commit a088592

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

web/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ EXPOSE 3000
101101

102102
# Start command
103103
CMD \
104-
NODE_ENV=$NODE_ENV \
105104
DEPLOYMENT_ENV=$DEPLOYMENT_ENV \
106105
TZ=$TZ \
107106
NODE_LOADER_CONFIG=loaders/config.js \

web/chompfile.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cp -r public/* .cache/
2323

2424
[[task]]
2525
name = 'server'
26-
env = { TZ='UTC', NODE_ENV='development', NODE_LOADER_CONFIG='loaders/config.js' }
26+
env = { TZ='UTC', NODE_LOADER_CONFIG='loaders/config.js' }
2727
serial = true
2828
deps = [
2929
'rollup:ssr',
@@ -48,6 +48,7 @@ prettier \
4848
[[task]]
4949
name = 'rollup:ssr'
5050
deps = ['ssr/**/*.jsx']
51+
env = { TZ='UTC' }
5152
run = 'rollup -c rollup/server.config.js'
5253

5354
#############################
@@ -62,7 +63,7 @@ target = 'node.importmap'
6263
template = 'jspm'
6364
[task.template-options]
6465
default-provider = 'jspm'
65-
env = ['node', 'development', 'module']
66+
env = ['node', 'production', 'module']
6667
ignore = [
6768
'mongodb',
6869
'graphql',
@@ -79,14 +80,15 @@ deps = ['client/html/#.html', '.cache']
7980
target = '.cache/#.html'
8081
template = 'jspm'
8182
[task.template-options]
82-
env = ['browser', 'development', 'module']
83+
env = ['browser', 'production', 'module']
8384
default-provider = 'jspm'
8485
preload = false
8586
integrity = false
8687

8788
[[task]]
8889
target = '.cache'
8990
deps = ['client/**/*', 'common/**/*']
91+
env = { TZ='UTC'}
9092
run = """
9193
prettier \
9294
--loglevel warn \

0 commit comments

Comments
 (0)