Compare commits

..

No commits in common. "1840426f793aa820decb3f43d0786acdfcc44af5" and "1317624ce5719cf2563a86b816ce3c8adad8450d" have entirely different histories.

3 changed files with 4187 additions and 4189 deletions

@ -1,10 +1,12 @@
FROM node:lts-alpine
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ["config.json", "package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
COPY ["package.json", "package-lock.json*", "npm-shrinkwrap.json*", "./"]
RUN npm install --production --silent && mv node_modules ../
COPY . .
EXPOSE 3000
RUN chown -R node /usr/src/app
USER node
# Opt out of NextJS telemetry
RUN npx next telemetry disable
@ -12,8 +14,4 @@ RUN npx next telemetry disable
# Build the app
RUN npm run build
# Setup permissions
RUN chown -R node /usr/src/app
USER node
CMD ["npm", "start"]

6
package-lock.json generated

@ -1,11 +1,11 @@
{
"name": "simple-links",
"name": "nextjs-13-template-with-tailwindcss",
"version": "0.1.0",
"lockfileVersion": 3,
"requires": false,
"requires": true,
"packages": {
"": {
"name": "simple-links",
"name": "nextjs-13-template-with-tailwindcss",
"version": "0.1.0",
"dependencies": {
"@types/node": "20.3.3",

@ -1,7 +1,7 @@
{
"name": "simple-links",
"name": "nextjs-13-template-with-tailwindcss",
"version": "0.1.0",
"private": false,
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",